in reply to Line by line buffered read
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".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Line by line buffered read
by dasgar (Priest) on Aug 20, 2010 at 16:47 UTC | |
by muyprofesional (Initiate) on Aug 20, 2010 at 16:55 UTC | |
|
Re^2: Line by line buffered read
by muyprofesional (Initiate) on Aug 20, 2010 at 16:58 UTC | |
by ikegami (Patriarch) on Aug 20, 2010 at 17:06 UTC | |
by ibm1620 (Hermit) on Feb 25, 2014 at 00:37 UTC |