in reply to Re^3: How to read every 16 line of file ?
in thread How to read every 16 line of file ?
This is my sample code to be execute but this is sample only..
#!/usr/bin/perl -w open (FILE, "/tmp/test.txt"); while ($line = <FILE>) { ... READ EVERY 16 LINE... } close(FILE);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: How to read every 16 line of file ?
by ikegami (Patriarch) on May 13, 2011 at 06:29 UTC |
In Section
Seekers of Perl Wisdom