You're right, it is a hack. It's probably useable in tests and standalone scripts. But this is for a CPAN module. I don't want to rely on someone using my module not having an autoloaded method called require. C'est la vie :|.UNIVERSAL::require( $scalar )
In reply to Re^3: Passing a run time string to require
by BUU
in thread Passing a run time string to require
by rinceWind
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |