in reply to JSON into string

Some alternate slurp methods here

Neil Watson
watson-wilson.ca

Replies are listed 'Best First'.
Re^2: JSON into string
by Anonymous Monk on Aug 31, 2016 at 22:24 UTC

    :) 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"} );