in reply to Difference between 'use' and 'require'
Any reason why you needed to post that in uber-print?
Anyhow, as far as I know you don't need to do a require AND a use as:
use MyModule;
.. is equivalent to:
require MyModule; import MyModule;
All code is untested unless otherwise stated.
All opinions expressed are my own and are intended as guidance, not gospel; please treat what I say as such and as Abigail said Think for yourself.
If in doubt ask.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Difference between 'use' and 'require'
by BUU (Prior) on Dec 07, 2004 at 09:33 UTC | |
by gothic_mallard (Pilgrim) on Dec 07, 2004 at 09:39 UTC | |
by bart (Canon) on Dec 07, 2004 at 10:28 UTC | |
by kloro2006 (Initiate) on Jun 15, 2014 at 20:05 UTC | |
by Anonymous Monk on Jun 15, 2014 at 23:32 UTC | |
Re^2: Difference between 'use' and 'require'
by chb (Deacon) on Dec 07, 2004 at 09:38 UTC | |
Re^2: Difference between 'use' and 'require'
by Anonymous Monk on May 04, 2012 at 06:28 UTC |
In Section
Seekers of Perl Wisdom