Last active
October 4, 2017 19:26
-
-
Save patch/7d2b3d7177c50f773d204afd4fdf97ad to your computer and use it in GitHub Desktop.
perl6 one-liners
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
# count the elements in a json file | |
perl6 -MJSON::Tiny -e 'say from-json(lines).elems' file.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment