in reply to Re: Extracting Text Lines
in thread Extracting Text Lines
print <FILE>;This wont do as you expect it to do. print puts is argument in list context, and a file handle in list context returns all the lines in the files. Thus you would print the remainder of the file after having found your line.
T I M T O W T D I
|
---|
In Section
Seekers of Perl Wisdom