Wouldn't it be more beneficial to stop them from running away in the first
place?
----- Original Message -----
From: "SAW" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 2:06 PM
Subject: Run away processes.
Hello group.
I just upgraded from Windows 98 to Windows 2000 Professional and I need to
know how to kill runaway perl.exe processes. When I try to kill them in
task manager I'm told that I'm not allowed to do this.
Any ideas?
Also, can anyone see any reason that this would not work?
$done = 0;
while (@row=$sth2->fetchrow_array && $done == 0)
{
if (($row[0] == $pid) && ($row[1] == 1) && ($done == 0))
{
print qq~Product has been sold already, select a different
product.\n~;
$done = 1;
}
if ($done == 0)
{
print qq~Item $pid has been placed in your shopping cart. <A HREF
= "viewcart.pl">CLICK HERE TO VIEW CART CONTENTS</A>\n~;
$done = 1;
}
}
Please excuse me for not posting all the code, but last time I did I didn't
get any responses, probably because it was too long.
Here's to second chances!
-Dave
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]