There's more than one way to do things | |
PerlMonks |
Re^5: How to read every 16 line of file ?by ikegami (Patriarch) |
on May 13, 2011 at 06:29 UTC ( [id://904593]=note: print w/replies, xml ) | Need Help?? |
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
|
|