I usually use something like:
use strict; use warnings; open (IN,"<file"); my $line; while($line=<IN>){ do_something_with_line(); } close(IN);
probably nobody advised you to read "How do I post a question effectively?", so I do, especially about "Use strict and warnings".
In reply to Re: Line by line buffered read
by BrimBorium
in thread Line by line buffered read
by muyprofesional
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |