in reply to Test::Warn, 'use' vs 'require'
use
See useeval { require Test::Warn; Test::Warn->import(@use_args); };
update: in other words, require does NOT import anything. if you want to use "require" as a replacement for "use" you'll have to call import() by hand.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Test::Warn, 'use' vs 'require'
by asarih (Hermit) on Sep 27, 2006 at 20:09 UTC | |
by Joost (Canon) on Sep 27, 2006 at 20:17 UTC | |
by asarih (Hermit) on Sep 27, 2006 at 20:27 UTC | |
by Joost (Canon) on Sep 27, 2006 at 20:44 UTC |
In Section
Seekers of Perl Wisdom