Then this will blow your mind...
sub x { print {+shift} "this is a method happening\n" } bless \*STDOUT, main::; (\*STDOUT)->x;
In reply to Re^5: Anonymous Hash in Constructor
by tobyink
in thread Anonymous Hash in Constructor
by puneet.keswani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |