Reading X lines at a time

Jose Alves de Castro <[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Message-ID <[email protected]>
This has been bugging me for some time...

What would be the easiest way to read X lines of input at a time?

I don't really think you can use $/ for this, as it's not a regex, but a
string...

However, the thought of having to use more than one line of code to do
this scares the hell out of me O:-)

Ideas, anyone? :-)

Regards,

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.