Skip to content

Instantly share code, notes, and snippets.

@exodist
Created September 7, 2010 23:46
Show Gist options
  • Save exodist/569346 to your computer and use it in GitHub Desktop.
Save exodist/569346 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
sub blah { 'blah' }
bless( \&blah, 'AAAA' );
print Dumper( \&blah );
# output
# $VAR1 = bless( sub { "DUMMY" }, 'AAAA' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment