... However, I had to do no such changing of notation when ...
you can't use require $modname without string eval because require expects a $filename
since string-eval takes perl source code, $type would should be validated to prevent problems
eval "require $modname; 1" is slower than require $filename;
so module::load helps you use require $modname by converting $modname into filename
In reply to Re^3: OO factory behind simple methods
by Anonymous Monk
in thread OO factory behind simple methods
by Apero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |