Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: is it safe to use File::Slurp?

by samtregar (Abbot)
on Jun 16, 2005 at 22:22 UTC ( #467476=note: print w/replies, xml ) Need Help??


in reply to is it safe to use File::Slurp?

Looking at the code for File::Slurp I'm stunned by how complicated it is. I have absolutely no idea if it's safe or not!

Why not just open() the file yourself and write to it? I can guarantee that's safe as long as you don't use any user input to construct your filenames.

-sam

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2021-04-11 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?