Re: Reading X lines at a time

Jose Alves de Castro <[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Message-ID <[email protected]>
On Mon, 2004-05-03 at 14:23, Rick Delaney wrote:
>     while (my @a = map { eof() ? () : scalar <> } 1 .. $n) {
        [...]
>     }

This seems to be what I was looking for... :-)

Thanks :-)

jac

-- 
José Alves de Castro <[email protected]>
Telbit - Tecnologias de Informação
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.