use constant END_REQUEST => "END_REQUEST\n"; sub end_request { die END_REQUEST } REQUEST: while(accept()) { eval { # process request 1; } or do { next REQUEST if $@ eq END_REQUEST; die $@; # propagate real errors }; }
In reply to Re: Labels, while loops and FastCGI
by gaal
in thread Labels, while loops and FastCGI
by doink123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |