Slurping and decoding JSON in Perl

Lately been doing a bit with JSON as a config file. It is a convenient way to store config variables. Procedural/Imperative style (untested, needs error handling, etc): OOP if it floats your boat (untested, needs error handling, etc):

Published
Categorized as Perl