|
|
| There's more than one way to do things | |
| PerlMonks |
Re: How to import names from a dynamically required moduleby kejohm (Hermit) |
| on Oct 02, 2012 at 22:21 UTC ( #996927=note: print w/ replies, xml ) | Need Help?? |
|
There is a syntax error in your second eval; you are missing a ), so the code isn't being executed. After evaling code you should either check the value of the $@ variable, or check the return value from eval, like tobyink's example above.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||