Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: JSON into string

by neilwatson (Priest)
on Aug 31, 2016 at 18:46 UTC ( #1170920=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1170920]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2018-05-26 05:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?