Greetings, all!
A few weeks ago I asked if anyone knew how to return multiple result sets
from DB2.
0.75 did not support it - but guess what? 0.76 (recently available at CPAN)
does!
I can do this to get the first result set :
while ((@res_set) = $sth->fetchrow_array()) {
print "@res_set\n";
}
And can do it again and again for as many result sets as there are.
However, the elegant way to do this would be a do / while loop that went
against the boolean :
$sth->{db2_more_results}
But alas, ANY reference to this causes a segmentation fault.
Any thoughts?