in reply to Location of 'use' statements
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 |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Location of 'use' statements
by djantzen (Priest) on Apr 18, 2003 at 22:32 UTC | |
by demerphq (Chancellor) on Apr 19, 2003 at 11:30 UTC | |
by djantzen (Priest) on Apr 19, 2003 at 20:57 UTC |
In Section
Seekers of Perl Wisdom