Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Skip 21 Linesby suaveant (Parson) |
on Apr 24, 2001 at 18:52 UTC ( [id://75077]=note: print w/replies, xml ) | Need Help?? |
$. holds the input line number, so you could check against that...
or you could keep a count... next unless $i++ > 21;
In Section
Seekers of Perl Wisdom
|
|