I ran the little example script on my localhostserver/perl setup under taint, no prob, except using (fatalsToBrowser)I had to remove a comma at the position shown below:
@result_set = map { "result number $_\n" }, (1..123);
****************************here ^
Anyway, thank you for a great explanation. Now, I'm having a little difficulty in placing that information into an actual script I wrote. When opening the datafile I have something like this:
open (DATA, "$db"

;
while (<DATA>) {
chomp;
($this,$that,$other) = split(/\|/,$_,3);
print "<tr><td>$this</td><td>$that</td><td>$other</td></tr>\n";
}
close (DATA);
My query is how or where do I put these lines:
@result_set = map { "result number $_\n" }, (1..123);
for($x = 0; $x <= $how_many; $x++){
print @result_set[$current_start_number + $x];
}
Do I just open the DATA file and read like this:
open (DATA, "$db"

;
chomp;
($this,$that,$other) = split(/\|/,$_,3);
@result_set = map {"<tr><td>$this</td><td>$that</td><td>$other</td></tr>\n"}(1..123);
for($x = 0; $x <= $how_many; $x++){
print @result_set[$current_start_number + $x];
}
close (DATA);
I've tried many different combinations, and I'm getting very close, but no cigar, yet.