Created
February 1, 2014 14:24
-
-
Save tadzik/8753025 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
$ cat jsontest | |
use JSON::Tiny; | |
my $list = from-json slurp 'projects.json.bootstrap'; | |
say $list.elems; | |
say $list.perl; | |
$ rakudobrew current | |
Currently running moar-HEAD | |
$ perl6 -I ext/JSON__Tiny/lib/ jsontest | |
18 | |
["source-type" => "local", "source-url" => "_BASEDIR_/File__Find", "version" => "*", "name" => "File::Find", "description" => "Bla bla", "depends" => [], "source-type" => "local", "source-url" => "_BASEDIR_/Shell__Command", "version" => "*", "name" => "Shell::Command", "description" => "Ble ble", "depends" => ["File::Find"], "source-type" => "local", "source-url" => "_BASEDIR_/JSON__Tiny", "version" => "*", "name" => "JSON::Tiny", "description" => "A minimal JSON (de)serializer", "depends" => []] | |
$ rakudobrew switch parrot | |
Switching to parrot-HEAD | |
Updating shims | |
$ perl6 -I ext/JSON__Tiny/lib/ jsontest | |
3 | |
[{"source-type" => "local", "source-url" => "_BASEDIR_/File__Find", "version" => "*", "name" => "File::Find", "description" => "Bla bla", "depends" => []}, {"source-type" => "local", "source-url" => "_BASEDIR_/Shell__Command", "version" => "*", "name" => "Shell::Command", "description" => "Ble ble", "depends" => ["File::Find"]}, {"source-type" => "local", "source-url" => "_BASEDIR_/JSON__Tiny", "version" => "*", "name" => "JSON::Tiny", "description" => "A minimal JSON (de)serializer", "depends" => []}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment