in reply to Re: reading lines from a text file
in thread reading lines from a text file

It should be habit for you to write
while (my $line = <FH>) { .... }
because you should always use strict.pm. Right?

Replies are listed 'Best First'.
Re^3: reading lines from a text file
by matrixmadhan (Beadle) on Dec 27, 2008 at 16:33 UTC
    You got that right and I didn't mean to do that.

    I just copied, pasted the sample code posted and modified the version with my logic.

    But anyway, I should have properly given the code snippet.

    Thanks for pointing it out and correcting :)