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