On Sun, 7 Sep 2003 17:25:20 +0000
Greenhalgh David <[EMAIL PROTECTED]> wrote:
> psuedo
> chmod 777 textfile.txt
> open textfile.txt for write
> write to the textfile.txt
> close textfile.txt
> chmod 644 textfile.txt
> end psuedo
well you can try
psuedo
system("chmod 777 textfile.txt")or die "Can't 777 $!";
> open textfile.txt for write
> write to the textfile.txt
> close textfile.txt
system("chmod 644 textfile.txt")or die "Can't 644 $!";
> end psuedo
see perldoc perlfunc (Functions for filehandles, files, or directories)
Owen
--
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]