Keep It Simple, Stupid | |
PerlMonks |
Re: passing a $var thru a "use module($var)"by chip (Curate) |
on Mar 16, 2004 at 15:11 UTC ( [id://337023]=note: print w/replies, xml ) | Need Help?? |
Yes, the implicit BEGIN{} around use is killing you. But it's easy enough to kill it first:
As a separate matter, you should beware about a numeric first argument to use because Perl may interpret it as a minimum required version for the given module. -- Chip Salzenberg, Free-Floating Agent of Chaos
In Section
Seekers of Perl Wisdom
|
|