pskiz has asked for the wisdom of the Perl Monks concerning the following question:
any insight is appreciated, thanks.# function to create new user file and print information into it sub createUserFile { my $theFile = param('user') . ".txt"; open(NEWFILE, ">$theFile") || die "Can't create $theFile: $!"; print NEWFILE param('user'), ":", param('pw'); close(NEWFILE); writeCreateSuccess(); }
Janitored by Arunbear - added code tags, as per Monastery guidelines
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Insecure dependency in open
by Yendor (Pilgrim) on Oct 12, 2004 at 14:26 UTC | |
|
Re: Insecure dependency in open
by ccn (Vicar) on Oct 12, 2004 at 14:06 UTC | |
|
Re: Insecure dependency in open
by ysth (Canon) on Oct 12, 2004 at 14:11 UTC |