in reply to Reading a File by Line then Analyzing each Line
As for line analysis, I'll write something after I've eaten (but I'll be too late, since I'm sure some other monks will give you sound advice).open my($fh), "<", "/path/to/file" or die "can't read /path/to/file: $ +!"; while (my $line = <$fh>) { # do stuff with $line } close $fh;
|
|---|