Created
October 22, 2015 18:29
-
-
Save exodist/b5efcd38ac2bb9081f5d to your computer and use it in GitHub Desktop.
LOL
This file contains hidden or 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
use strict; | |
use warnings; | |
package aaa; | |
sub foo { print "A\n" } | |
package aab; | |
sub foo { print "B\n" } | |
package main; | |
my $thing = 'aaa'; | |
$thing++->foo; | |
$thing++->foo; | |
__END__ | |
A | |
B |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment