Skip to content

Instantly share code, notes, and snippets.

@dagurval
Created June 11, 2013 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dagurval/7522d8bf0f5464818611 to your computer and use it in GitHub Desktop.
Save dagurval/7522d8bf0f5464818611 to your computer and use it in GitHub Desktop.
$ perl6
> spurt("a.pm", "module A; my %C is export = \{ a => 'b' \}");
True
> say slurp("a.pm")
module A; our %C is export = { a => 'b' }
> use a;
Nil
> say %C;
===SORRY!===
Variable '%C' is not declared
at <unknown file>:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment