This assumes "one by one" means line by line. I don't understand what you mean by "The Perl file wil then get them via <STDIN>..." Get what?open IN, "infile.txt" or die "Error in r_open: $!\n"; open OUT, "outfile.txt" or die "Error in w_open:$!\n"; while (<IN>) { # do something with each line if you want print OUT $_; } close IN; close OUT;
In reply to Re: Help reading text file
by dbp
in thread Help reading text file (was: Help Please!!)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |