http://www.perlmonks.org?node_id=1058894


in reply to Re: alarm not working on windows machine
in thread alarm not working on windows machine

Thanks for you reply.

while executing your code i am getting this error.

Odd number of elements in hash assignment at C:/Perl/lib/IO/Socket.pm +line 41. IO::Socket: Cannot configure a generic socket at test.pl line 25

and when i changed

 my $sel = IO::Socket->new( $socket ); with  my $sel = IO::Socket::INET->new( $socket );

then getting this error

Can't call method "can_read" on an undefined value at test.pl line 35.