Skip to content

Instantly share code, notes, and snippets.

@Altai-man

Altai-man/export Secret

Created January 6, 2019 20:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Altai-man/4d96c65d107c4927efdce92b1f10ad67 to your computer and use it in GitHub Desktop.
➜ tester cat perl6.pm6
use JSON::Fast;
sub EXPORT {
%( '&fast' => &to-json )
}
➜ tester perl6 -I.
To exit type 'exit' or '^D'
> use perl6;
Nil
> fast {a => 1};
{
"a": 1
}
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment