develooper Front page | perl.beginners | Postings from March 2002

Re: output to a textfile

Thread Previous | Thread Next
Michael Stidham
March 19, 2002 10:56
Re: output to a textfile
Message ID:
print DATA "your input";

>From: Matthew Harrison <>
>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
>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.
>Matthew Harrison
>Internet/Network Services Administrator
>Peanut-Butter Cheesecake Hosting Services
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Send and receive Hotmail on your mobile device:

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About