Since many modules export into the namespace of the module they are used by, you should put your 'use' statements after your package declaration. If you have multiple packages defined in a single file, you may need multiple 'use' statements for the same modules.
90% of every Perl application is already written. ⇒ |
dragonchild |
In reply to Re: Location of 'use' statements
by pfaut
in thread Location of 'use' statements
by djantzen
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |