use statements in packages
- From: Robert <sigzero@xxxxxxxxx>
- Date: Thu, 5 Jan 2012 05:07:30 -0800 (PST)
So I was reading up on Dist::Zilla and I see a code snippet like:
use strict;
use warnings;
package Your::Library;
1;
I was always under the impression the "package" statement was the
first thing. Is there some advantage to having the use statements
above the package declaration?
Bob
.
- Follow-Ups:
- Re: use statements in packages
- From: Ben Morrow
- Re: use statements in packages
- Prev by Date: Re: POD module synopses?
- Next by Date: Re: use statements in packages
- Previous by thread: how is the string encoded
- Next by thread: Re: use statements in packages
- Index(es):
Relevant Pages
|