"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?? |
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.
____________________________________________________
In Section
Meditations
|
|