Skip to content

Instantly share code, notes, and snippets.

@mix3
Created December 27, 2011 11:04
Show Gist options
  • Save mix3/1523303 to your computer and use it in GitHub Desktop.
Save mix3/1523303 to your computer and use it in GitHub Desktop.
glob sample
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