Re: Read 20 lines when pressing n for next



Chris Mattern <syscjm@xxxxxxxxxxxxxx> wrote:
On 2008-04-30, A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx> wrote:
s9uzaa@xxxxxxxxx wrote in news:37b9eb38-e188-4dc2-b3a7-
4. must have subroutine used.

Look up $. in perldoc perlvar

I got $5 that says this is homework. "must have subroutine used" is
a dead giveaway.

Absolutely agree. However, the tutor isn't that smart, either.

A sub
sub do_nothing{};

that is called somewhere in the program would already fulfill that
requirement. Probably not what he had in mind but apparently he couldn't
come up with a more appropriate one.

jue
.