If you're already going to eval, might as well just do:
my $mod = "Digest::MD5"; eval "use $mod";
and avoid calling import yourself...
And don't forget to check $@...
In reply to Re^2: Use with variable
by edan
in thread Use with variable
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |