unsupported function

2002-02-15 Thread Lanceo

I am getting this weird error message:

The Unsupported function alarm function is unimplemented at SiteTest.pm line
42.

here is the code:

alarm 20;


I also get this error in any other module that I call that use
larm( Net::Ping for example)  Now, I always thought that the alarm function
was part of core Perl.

I am using ActiveState ActivePerl  5.3.1 build 631




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.323 / Virus Database: 180 - Release Date: 2/8/02



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: unsupported function

2002-02-15 Thread Michael Fowler

On Fri, Feb 15, 2002 at 05:02:22PM -, Lanceo wrote:
 I also get this error in any other module that I call that use
 larm( Net::Ping for example)  Now, I always thought that the alarm function
 was part of core Perl.

It is, but it requires support from the operating system to work.  Your OS
doesn't have an equivalent.  Assuming your OS is Win32, this is documented
in perldoc perlport.

 
 I am using ActiveState ActivePerl  5.3.1 build 631

Surely you mean 5.6.1, not 5.3.1.


Michael
--
Administrator  www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]