while(1) { while ( my $ns = $server->accept() ) { # Normal accept loop here. } print "Got an interruption: $!\n"; }
Makeshifts last the longest.
In reply to Re^3: perl 5.8 killed my socket!
by Aristotle
in thread perl 5.8 killed my socket!
by drake50
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |