Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

In the BEGINning

by liz (Monsignor)
on Dec 06, 2003 at 17:59 UTC ( #312789=obfuscated: print w/ replies, xml ) Need Help??

sub BEGIN{@_{qw{BEGIN CHECK INIT END}}=qw{hacker Perl another Just};for my$a(keys%_){*{$a}=sub{ "$_{$a} $_[0]"}}sub CHECK{sub INIT{sub END {chop ($_=END(INIT(CHECK(BEGIN()))));print;print$/}}}}
Just goes to show that subs are not always what they seem. ;-)

Liz

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://312789]
Approved by gmax
Front-paged by Itatsumaki
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2016-08-27 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (378 votes). Check out past polls.