in reply to Re^2: eval "require $class" seems wrong
in thread eval "require $class" seems wrong
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