Just another Perl shrine | |
PerlMonks |
Re: Help Changing use into require/importby Discipulus (Canon) |
on Mar 07, 2018 at 21:21 UTC ( [id://1210482]=note: print w/replies, xml ) | Need Help?? |
Hello computergeek and welcome to the monastery and to the wonderful world of Perl! You can also be interested into Module::Load::Conditional PS also note that the folowing works:
Infact use is equivalent to BEGIN { require Module; Module->import( LIST ); } as per use docs. PPS see also some other links about compile time / run time L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|