No such thing as a small change | |
PerlMonks |
is it safe to use File::Slurp?by kyoshu (Curate) |
on Jun 16, 2005 at 19:47 UTC ( [id://467417]=perlquestion: print w/replies, xml ) | Need Help?? |
kyoshu has asked for the wisdom of the Perl Monks concerning the following question:
in one of mine scripts i use File::Slurp and i'm not sure if it is safe to use it for writting/appending to file without checking user entered data? example of code:
use strict; use CGI; use File::Slurp; my $somedata = $q->param('somedata'); write_file('somefile.txt',{append=>1},$somedata); ...
Back to
Seekers of Perl Wisdom
|
|