Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Any downsides to this slurp idiom?

by hippo (Bishop)
on Jun 22, 2018 at 16:21 UTC ( [id://1217222]=note: print w/replies, xml ) Need Help??


in reply to Re: Any downsides to this slurp idiom?
in thread Any downsides to this slurp idiom?

Why not use File::Slurp?

See File::Slurp is broken and wrong.

  • Comment on Re^2: Any downsides to this slurp idiom?

Replies are listed 'Best First'.
Re^3: Any downsides to this slurp idiom?
by jimpudar (Pilgrim) on Jun 22, 2018 at 17:17 UTC

    Huh, very interesting. Sounds like I will probably be switching over to File::Slurper from now on.

    Thanks!

    Jim

    πάντων χρημάτων μέτρον έστιν άνθρωπος.

      Path::Tiny's helpers are great and the package has a lot more than slurping to offer.

        Been a while, but thought I'd mention for posterity Mojo::File is now my go-to. It has a slurp method and lots of other goodies.

        πάντων χρημάτων μέτρον έστιν άνθρωπος.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1217222]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2024-04-19 07:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found