Just goes to show that subs are not always what they seem. ;-)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$/}}}}
Liz
In reply to In the BEGINning by liz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |