Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Little Perl Mysteries: what's your answer?

by PodMaster (Abbot)
on Oct 31, 2002 at 04:24 UTC ( [id://209335]=note: print w/replies, xml ) Need Help??


in reply to Little Perl Mysteries: what's your answer?

I see no problem here perl -e "sub foo(){2};BEGIN{*::foo=sub(){3};}print foo()" The saying "don't use prototypes unless you know why you shouldn't" still applies.

____________________________________________________
** The Third rule of perl club is a statement of fact: pod is sexy.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-23 08:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found