Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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

Comment on In the BEGINning
Download Code

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 drinking their drinks and smoking their pipes about the Monastery: (19)
As of 2015-07-07 14:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (89 votes), past polls