in reply to How to import names from a dynamically required module
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to import names from a dynamically required module
by jds17 (Pilgrim) on Oct 02, 2012 at 23:06 UTC |
In Section
Seekers of Perl Wisdom