Created
July 3, 2015 04:31
-
-
Save exodist/98ab3c14903e724fbba0 to your computer and use it in GitHub Desktop.
grrr
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 Data::Dumper; | |
my $stash = \%{"FAKE\::"}; | |
print Dumper([keys %$stash]); | |
local *FAKE::xxx = sub { 'xxx' }; | |
print Dumper([keys %$stash]); | |
__END__ | |
$VAR1 = [ | |
'xxx' | |
]; | |
$VAR1 = [ | |
'xxx' | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment