Let's say I have a file and there are 8 records in it.
I would like to print the whole file 3 records at a time.
The file will never be large (maybe a dozen or so records at most).
I tried to find an answer for this, however, found everything but.
How do I make this work?
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
print "Content-type: text/html\n\n";
my $nol="3"; # number of records per row
my $count = $.;
my @pl =split /\|/, $_;
print qq ~($pl)$pl ~; # Each row is three records
Thanks in advance