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