Created
August 17, 2016 13:00
-
-
Save zoffixznet/281a4534659d2032938375e78241c03f to your computer and use it in GitHub Desktop.
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
zoffix@leliana:/tmp/tmp.m0TGnHo3HC$ perl6 -v | |
This is Rakudo version 2016.07.1-151-g5dd91d8 built on MoarVM version 2016.07-17-g40948f6 | |
implementing Perl 6.c. | |
zoffix@leliana:/tmp/tmp.m0TGnHo3HC$ tree | |
. | |
└── lib | |
└── JSON | |
└── Fast.pm6 | |
2 directories, 1 file | |
zoffix@leliana:/tmp/tmp.m0TGnHo3HC$ cat lib/JSON/Fast.pm6 | |
unit class JSON::Fast; | |
method new { say "hello!" } | |
zoffix@leliana:/tmp/tmp.m0TGnHo3HC$ perl6 -MJSON::Fast -e 'JSON::Fast.new' | |
You cannot create an instance of this type (JSON::Fast) | |
in block <unit> at -e line 1 | |
zoffix@leliana:/tmp/tmp.m0TGnHo3HC$ perl6 -Ilib -MJSON::Fast -e 'JSON::Fast.new' | |
hello! | |
zoffix@leliana:/tmp/tmp.m0TGnHo3HC$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment