in reply to Re: Create a file with Perl
in thread Create a file with Perl
open(FH, "> $myfile") || die "Can't open $file for write: $!";
to create a new file, but it still gave me "permission denied" . Is there something weird I can do with setuid or something to change the user the script is running as?
By the way, thanks for answering!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Re: Create a file with Perl
by BastardOperator (Monk) on Sep 17, 2000 at 06:20 UTC | |
|
RE: RE: Re: Create a file with Perl
by Fastolfe (Vicar) on Sep 18, 2000 at 05:56 UTC | |
by tilly (Archbishop) on Sep 18, 2000 at 18:26 UTC |