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

Maybe: 

sysopen('FILE', "./textfile.txt", 'RDWR', 0644) or die $!;
print FILE "some stuff";
close('FILE');

Cheers,

GL

-- 
Gavin Laking - Web Development Daemon

http://www.gavinlaking.co.uk/
--

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to