Perl: the Markov chain saw | |
PerlMonks |
Re: A simple import() for those special momentsby sauoq (Abbot) |
on Jan 19, 2003 at 00:45 UTC ( [id://228102]=note: print w/replies, xml ) | Need Help?? |
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.";
In Section
Meditations
|
|