Hi, I am very new to PERL but if all you want to do is open an existing file 
and delete all of it's contents you could open the file for writing and then 
close it.

open(F, ">filename");
close (F);

There maybe a more acceptable way to do this - but this should open the file 
- remove its contents by replacing the file and then close it again.

Hope it helps

A

>Hi,
>
>I want to opena datafile and erase it's all it's contents.  Can anyone 
>help?
>Thanks,
>
>Allison



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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

Reply via email to