Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
while ( ($status = $st->fetch( \$result )) == 0) { print returns "$result\n"; } die "$st->{Error}\n" if ($status < 0); [download]