Question/problem
Joel Fentin
joel at cts.com
Fri Jul 20 10:47:06 CDT 2001
~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.
At the meeting, someone suggested FINISH. I have not found a way to use
FINISH that doesn't bomb.
==========================
my ($rv);
$dbh->do("UPDATE $TableName SET rl = 0 WHERE ID = $ID");#reset rl
do
{
$rv = $dbh->selectrow_array("SELECT COUNT(*) FROM $TableName WHERE ID =
$ID AND !rl");# examine rl
}
until $rv;
}
--
Joel Fentin tel: 760-749-8863 FAX: 760-749-8864
email: joel at fentin.com web: Fentin.com
~sdpm~
The posting address is: san-diego-pm-list at hfb.pm.org
List requests should be sent to: majordomo at hfb.pm.org
If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> 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 happyfunball.pm.org> .
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