Created
May 18, 2012 20:05
-
-
Save P-Seebauer/2727335 to your computer and use it in GitHub Desktop.
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 ACME::Autowrap qr/modify/ => sub{'modified'}; | |
sub modify{ 'foo'} | |
sub keep { 'bar'} | |
say modify(); # modified | |
say keep(); # bar | |
{ | |
no ACME::Autowrap; | |
say modify; # foo | |
} | |
say modify(); # modified |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment