-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Will this test be true $n==0 where $n='0E0' the returned value?
Right. It equals zero, but its true. That way this
works just like you'd want it to:
my $rows = $sth->do("...") or die "Error: ....";
If ($rows == 0) {
print "No rows affected\n";
} else {
print "$rows row(s) affected\n";
}
If 'do' returned '0', then the 'my $rows' statement
would die, since '0' is false.
HTH,
Douglas Wilson
