http://www.perlmonks.org?node_id=657589


in reply to text file reading

Replace your print line with:

print "$_\n" while $_ = $line->getLine();

Perl is environmentally friendly - it saves trees

Replies are listed 'Best First'.
Re^2: text file reading
by noobee (Acolyte) on Dec 18, 2007 at 02:59 UTC
    GrandFather,
    Thank you. That works perfect!
    Jessica.