in reply to Re^4: Anonymous Hash in Constructor
in thread Anonymous Hash in Constructor
Then this will blow your mind...
sub x { print {+shift} "this is a method happening\n" } bless \*STDOUT, main::; (\*STDOUT)->x;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Anonymous Hash in Constructor
by Jim (Curate) on Oct 19, 2012 at 23:42 UTC |