cabney cabney at
Fri Jul 20 13:54:56 CDT 2001

On Fri, 20 Jul 2001, Joel Fentin wrote:

> ~sdpm~
> The following snippet is to stick around until rl = 0. It lies and passes
> through even though rl = 1. I've tried many ways to do this. They all lie.

Force an array context for that behavior:


           @row_ary = $dbh->selectrow_array($statement);
           @row_ary = $dbh->selectrow_array($statement, \%attr);
           @row_ary = $dbh->selectrow_array($statement, \%attr, @bind_values);
         This utility method combines the prepare, execute,
         and fetchrow_array entries elsewhere in this
         documentinto a single call. If called in a list
         context it returns the first row of data from the
         statement. If called in a scalar context it returns
         the first field of the first row. The $statement
         parameter can be a previously prepared statement
         handle in which case the prepare is skipped.

There was a time
A wind that blew so young
For this could be the biggest sky
And I could have the faintest idea


The posting address is: san-diego-pm-list at

List requests should be sent to: majordomo at

If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at> with the following
command in the body of your email message:

    unsubscribe san-diego-pm-list

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at> .
This is the general rule for most mailing lists when you need
to contact a human.

More information about the San-Diego-pm mailing list