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 |
In Section
Seekers of Perl Wisdom