in reply to Re^4: How to read every 16 line of file ?
in thread How to read every 16 line of file ?
You can't "read every 16th line", you can "do something with every 16th line", and I showed how already. Just replace "say" with whatever you want to do to the selected lines.
In Section
Seekers of Perl Wisdom