- or download this
perl -we 'bless( \sub {}, "Foo" )->();'
Not a CODE reference at -e line 1.
- or download this
perl -we 'print bless( \sub {}, "Foo" ) . "\n";'
Foo=REF(0x82998c4)
- or download this
use strict;
use warnings;
...
}
print "Done.\n";
- or download this
# Created Foo=CODE(0x82b682c)
# Ha! Ha! Still there!
# DESTROYing Foo=CODE(0x82b682c)
# Done.