Created
December 27, 2011 11:04
-
-
Save mix3/1523303 to your computer and use it in GitHub Desktop.
glob sample
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
package Sample; | |
sub hello { | |
print "Hello\n"; | |
} | |
1; | |
package main; | |
Sample::hello(); | |
*{"Sample::hello"} = sub { | |
print "World\n"; | |
}; | |
Sample::hello(); | |
1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment