Re: Reading X lines at a time

Sven Neuhaus <[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Message-ID <[email protected]>
How about
push @lines, scalar <FILEHANDLE>, 1..$X;

Technically however, you are still reading one byte at a time...

-Sven
-- 
My life is a patio of fun!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.