Created
March 31, 2016 23:20
-
-
Save salortiz/202c0c871ddca049856e10a2f01664d1 to your computer and use it in GitHub Desktop.
explicitly-manage is evil
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
use v6; | |
use NativeCall; | |
my $var1 = "Hola a todos"; | |
my $var2 = "Hola a todos"; | |
sub foo($any) { | |
explicitly-manage($any); | |
} | |
dd $var2; | |
foo($var1); | |
dd $var2; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment