Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: A simple import() for those special moments

by sauoq (Abbot)
on Jan 19, 2003 at 00:45 UTC ( #228102=note: print w/ replies, xml ) Need Help??

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.)

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

Server Error (Error ID 442161a86854)

An error has occurred. The site administrators have been notified of the problem and will likely soon fix it. We thank you, for you're patients.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://228102]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2015-03-29 23:51 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (632 votes), past polls