![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: Using arbitrary packagesby ysth (Canon) |
on Jul 12, 2004 at 21:52 UTC ( [id://373747]=note: print w/replies, xml ) | Need Help?? |
If $foo is trusted data, you can say eval "use $foo";, but that won't take effect at compile time.
Starting with 5.6.2, you can say but $foo has to already be set at compile time, e.g. but even that IMO is more clearly written as What exactly are you trying to accomplish? There's probably a better way.
In Section
Seekers of Perl Wisdom
|
|