1 for( my $i=0;$i<100000;$i++ ) { 2 my @x = map { $i } (1..100); 3 my $x = join('',@x); 4 @x = split('',$x); 5 }
$fd = IO::Socket::INET->new(...); $fd->blocking(0); if ( ! sysread($fd,... )) { if ($!{EAGAIN}) { .. try later.. }