Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (10 sloc) 0.202 kb
package Carton::Util;
use strict;
use warnings;
sub parse_json {
my $file = shift;
open my $fh, "<", $file or die "$file: $!";
require JSON;
JSON::decode_json(join '', <$fh>);
}
1;
Jump to Line
Something went wrong with that request. Please try again.