RE: breaking out of accept loop in perl?

yalcin bozcaada (bozcaada@OpenMarket.com)
Wed, 21 May 1997 21:09:05 -0400

Message-Id: <01BC662B.383D4E60@dialinuser07.openmarket.com>
From: yalcin bozcaada <bozcaada@OpenMarket.com>
To: FastCGI Developers List <fastcgi-developers@OpenMarket.com>
Subject: RE: breaking out of accept loop in perl?
Date: Wed, 21 May 1997 21:09:05 -0400

oops.

you are trying to break out of a perl loop? Sorry I thought that was C.
-yalcin 

----------
From: 	yalcin bozcaada[SMTP:bozcaada@openmarket.com]
Sent: 	Wednesday, May 21, 1997 8:56 PM
To: 	FastCGI Developers List
Subject: 	RE: breaking out of accept loop in perl?

what do you mean??

can't you just "break".. You mean simple break statement won't break out of the loop?

-yalcin  


----------
From: 	G. Philip Reger[SMTP:philr@peoplelink.com]
Sent: 	Wednesday, May 21, 1997 8:33 PM
To: 	FastCGI Developers List
Subject: 	breaking out of accept loop in perl?

How does one break out of the

while (FCGI::accept() >= 0) {
	...
}

loop? I've tried FCGI::finish() and FCGI:finish() and then break, but
neither seems to work. I don't want to call exit() because that would
cause my code to completely terminate, right?

help!

phil
-- 
G. Philip Reger
Mgr. Systems Operations
PeopleLink, Inc. - Connect. Communicate. Simply.