more useful options | |
PerlMonks |
Re^3: eval "require $class" seems wrongby lima1 (Curate) |
on Aug 22, 2007 at 18:22 UTC ( [id://634464]=note: print w/replies, xml ) | Need Help?? |
Sure, you need an eval here to check whether the module was found and successfully loaded. You need the eval in the first case to interpolate the module name and turn it into a bareword, or not?
In Section
Seekers of Perl Wisdom
|
|