in reply to require $package?
I just ran into that last night. All you need to do is put the require statement within your eval in quotes.
<br< Have fun!
-Eric
Hopefully, someone will be kind enough to explain why this is necessary :-)eval{ "require $_" };
<br< Have fun!
-Eric
|
---|
Replies are listed 'Best First'. | |
---|---|
Re (tilly) 2: require $package?
by tilly (Archbishop) on Oct 17, 2001 at 05:01 UTC |
In Section
Seekers of Perl Wisdom