Skip to content

Instantly share code, notes, and snippets.

@jeffa
Last active August 29, 2015 14:05
Show Gist options
  • Select an option

  • Save jeffa/9cfccb8cb38dde22f494 to your computer and use it in GitHub Desktop.

Select an option

Save jeffa/9cfccb8cb38dde22f494 to your computer and use it in GitHub Desktop.
Decode JSON file into Perl Data::Dump
perl -MData::Dumper -MJSON -MFile::Slurp -e"print Dumper decode_json read_file shift" foo.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment