goto LABEL is generally frowned upon. instead, try:
## bare block with redo to catch perl 5.008 accept loop interrupts ## (see http://archive.develooper.com/macosx@perl.org/msg03022.html fo +r details) { while ( my $ns = $server->accept() ) { # Normal accept loop here. } print "Got an interruption: $!\n"; redo; }
~Particle *accelerates*
In reply to Re^2: perl 5.8 killed my socket!
by particle
in thread perl 5.8 killed my socket!
by drake50
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |