in reply to File Input and Output
______________________ thanks Gariki.#!/usr/bin/perl -w #open(IN, "input.txt"); open(OUT, ">out.txt"); while( <STDIN>) { print $_; print OUT $_; } #close (IN); close (OUT);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: File Input and Output
by marlowe (Beadle) on Feb 06, 2002 at 02:10 UTC |