http://www.perlmonks.org?node_id=228102


in reply to A simple import() for those special moments

For the purposes you suggest, it would probably be just fine. You do have an error though; import() will be called with the package name (which is needed for inheritance but you probably don't care about it) so you'll need to shift it off of @_ or your sub will always die.

You also have a small syntax error on your last for line. (No ending paren.)

-sauoq
"My two cents aren't worth a dime.";