http://qs321.pair.com?node_id=531743

Win has asked for the wisdom of the Perl Monks concerning the following question:

Good Monks. I have the following bit of code:
while (my @row = $sth_C->fetchrow_array) { print OUTPUT_FILE join("\t", @row); print OUTPUT_FILE "\n"; undef @row; }
Which I would like modified to check to see whether the array @row is within an array of arrays called @collection_of_rows. If it is I want it to exit the loop and if it isn't I want it to continue as before and add @row to the array of arrays.