in reply to "Unsupported function alarm function" with Net::Telnet problem

According to perldoc perlport . . .

alarm SECONDS alarm Not implemented. (Win32)

It means just what it says: Net::Telnet tried to use alarm() but it's not available. It's trying to set things up to timeout after a certain period of time so that it won't hang indefinately if there's no reply.

  • Comment on Re: "Unsupported function alarm function" with Net::Telnet problem
  • Download Code

Replies are listed 'Best First'.
Re: Re: "Unsupported function alarm function" with Net::Telnet problem
by gothic_mallard (Pilgrim) on Nov 30, 2001 at 20:11 UTC
    Thanks for the reply

    Why should it not be available? Is it part of the Net::Telnet module itself or something else that needs to be installed?

    If it isn't something that I can install, how can I solve this problem?

    Thanks again.

    J.

      Okay... looks like I got it sorted.

      Seems that even the docs for the latest PPM release of this module say that this feature is broken. ( I think it may run on UNIX, but not under NT )

      Got around it be reinstalling the older version that we were running previously - everything seems to be working fine now.

      Thanks again.

      J.