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); ...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: is it safe to use File::Slurp?
by Limbic~Region (Chancellor) on Jun 16, 2005 at 22:59 UTC | |
Re: is it safe to use File::Slurp?
by samtregar (Abbot) on Jun 16, 2005 at 22:22 UTC | |
Re: is it safe to use File::Slurp?
by sh1tn (Priest) on Jun 16, 2005 at 20:36 UTC |
Back to
Seekers of Perl Wisdom