Monolith-0 has asked for the wisdom of the Perl Monks concerning the following question:
my $query= "SELECT id FROM users LIMIT 1"; my $sth=$dbh->do($query) or DBerror(); if ($sth->fetchrow_array == undef) { ... }
- Monolith
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Empty Set
by Trimbach (Curate) on Jul 13, 2001 at 07:03 UTC | |
|
Re: Empty Set
by VSarkiss (Monsignor) on Jul 13, 2001 at 07:16 UTC | |
|
Re: Empty Set
by Monolith-0 (Beadle) on Jul 13, 2001 at 07:21 UTC |