print DATA "information";

-----Original Message-----
From: Matthew Harrison [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 1:47 PM
To: [EMAIL PROTECTED]
Subject: output to a textfile


i have opened a filehandle to a textfile with:

open(DATA, ">/home/edhunter/0001.txt") or die "Could not attach filehandle 
/home/edhunter/0001.txt\n";

but what is the syntax to write into it? i have tried everthing i can find. 
I would be very grateful if someone could just show me an example of the 
write line. 

cheers

-- 
Matthew Harrison
Internet/Network Services Administrator
Peanut-Butter Cheesecake Hosting Services
Genstate
www.peanutbuttercheesecake.co.uk

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

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

Reply via email to