in reply to executing a OSP with CGI
Perhaps a better way would be to:
This way you can capture any errors you generate and you are allowing the DBI interface to do what it does very well and handle any necessary type coversions for your variables.my $sth=$dbh->prepare("exec OSP_FOO_BAR(?,?,?)") or die $dbh->errstr; $sth->execute($xvar,$yvar,$zvar) or die $sth->errstr;
Hope this helps.
Peter L. Berghold | Brewer of Belgian Ales |
Peter@Berghold.Net | www.berghold.net |
Unix Professional |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: executing a OSP with CGI
by chuleto1 (Beadle) on Jul 15, 2003 at 19:31 UTC | |
Re: Re: executing a OSP with CGI
by cjcollier (Novice) on Jul 15, 2003 at 21:24 UTC |
In Section
Seekers of Perl Wisdom