Skip to content

Instantly share code, notes, and snippets.

@raydiak
Last active August 29, 2015 14:22
Show Gist options
  • Save raydiak/46b0727fddfd3c0b659e to your computer and use it in GitHub Desktop.
Save raydiak/46b0727fddfd3c0b659e to your computer and use it in GitHub Desktop.
restricted weirdness
x@patience:~/data/projects/perl6/panda > rakudo/install/bin/perl6 -e 'my $*RESTRICTED; say EVAL "(:a(1):b(2))"'
a => 1
x@patience:~/data/projects/perl6/panda > rakudo/install/bin/perl6 -e 'say EVAL "(:a(1):b(2))"'
a => 1 b => 2
x@patience:~/data/projects/perl6/panda > rakudo/install/bin/perl6 -e 'my $*RESTRICTED; say do { (:a(1):b(2)) }'
a => 1 b => 2
x@patience:~/data/projects/perl6/panda > rakudo/install/bin/perl6 -e 'my $*FOO; say do { (:a(1):b(2)) }'
a => 1 b => 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment