Created
November 12, 2012 10:17
-
-
Save vovkasm/4058501 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!perl | |
while (1) { | |
my $o = bless {}, 'main'; | |
test({}); | |
$o->test; | |
} | |
sub test { &test2; } | |
sub test2 { ref($_[0]) && eval { $_[0]->isa(__PACKAGE__) }; } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment