in reply to Re: JSON into stringin thread JSON into string
:) thats terribly unsweetened :P
use Path::Tiny qw/ path /; my $foo = path($file)->slurp_utf8; my $foo = path($file)->slurp_raw; my $foo = path($file)->slurp( {binmode => ":raw"} ); [download]