in reply to
Reading in the first 10 lines of a file
while (<>) { print if (1 .. 10); }
[download]
Comment on
Re: Reading in the first 10 lines of a file
Download
Code
In Section
Seekers of Perl Wisdom