WestaII has asked for the wisdom of the Perl Monks concerning the following question:
Could someone give me a code example of how to fetch the return value from a procedure call.
Here is my latest attemp:
...
my $result= $sth->execute() or die("error..."); # Fetch return value from procedure do { while (my @aRet = $sth->fetchrow_array) { $ret = $aRet[0]; } } while ($sth->odbc_more_results);
update (broquaint): added formatting + <code> tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Howto fetch procedure return value
by dga (Hermit) on Apr 03, 2003 at 20:36 UTC | |
by aquarium (Curate) on Apr 04, 2003 at 10:57 UTC | |
|
Re: Howto fetch procedure return value
by Super Monkey (Beadle) on Apr 03, 2003 at 17:48 UTC | |
|
Re: Howto fetch procedure return value
by draper7 (Scribe) on Apr 04, 2003 at 14:48 UTC |