Created
July 19, 2012 21:27
-
-
Save softmoth/3146951 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
sub checklastval () is rw { | |
Proxy.new( | |
FETCH => sub ($self) { #OK not used | |
'hello', | |
}, | |
STORE => sub ($self, $val) { #OK not used | |
'hello'; | |
} | |
); | |
}; | |
checklastval() = 10; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment