Re: Reading X lines at a time

Dave Mitchell <[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Message-ID <[email protected]>
On Mon, May 03, 2004 at 12:19:55PM +0200, Sven Neuhaus wrote:
> How about
> push @lines, scalar <FILEHANDLE>, 1..$X;

I presume you meant

push @lines, scalar <FILEHANDLE> for 1..$X;

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

No you're not!

-- 
Thank God I'm an atheist.....
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.