in reply to
$. Input line number
if ($. % 3 == 1) {...}
The PerlMonk
tr///
Advocate
Comment on
Re: $. Input line number
Download
Code
In Section
Seekers of Perl Wisdom