Skip to content

Instantly share code, notes, and snippets.

@pmichaud
Created September 3, 2009 03:21
Show Gist options
  • Save pmichaud/180109 to your computer and use it in GitHub Desktop.
Save pmichaud/180109 to your computer and use it in GitHub Desktop.
my $*VAR ::= 'outer';
sub foo() { say $*VAR; }
{
my *$VAR ::= 'caller';
foo();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment