Front page | perl.beginners |
Postings from March 2002
Re: output to a textfile
Thread Previous
|
Thread Next
From:
Michael Stidham
Date:
March 19, 2002 10:56
Subject:
Re: output to a textfile
Message ID:
LAW2-F144jbUaucyHAT00010577@hotmail.com
print DATA "your input";
>From: Matthew Harrison <edhunter@peanutbuttercheesecake.co.uk>
>To: beginners@perl.org
>Subject: output to a textfile
>Date: Tue, 19 Mar 2002 18:46:50 +0000
>
>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: beginners-unsubscribe@perl.org
>For additional commands, e-mail: beginners-help@perl.org
>
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
Thread Previous
|
Thread Next