Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Unsupported function alarm

by hgolden (Pilgrim)
on Sep 20, 2006 at 16:51 UTC ( [id://573999]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Unsupported function alarm
in thread Unsupported function alarm

I think it's worse than that. Alarm is one of the functions that isn't implemented even in the most current version of Perlwin32. http://www.perl.com/doc/FAQs/nt/perlwin32faq5.html

Hays

Replies are listed 'Best First'.
Re^3: Unsupported function alarm
by Corion (Patriarch) on Sep 20, 2006 at 17:11 UTC

    That's not entirely true:

    C:\>perl -le "$SIG{ALRM}=sub{print'Hello'};alarm(2);sleep 4;print 'Don +e.'" Hello Done. C:\>perl -v This is perl, v5.8.5 built for MSWin32-x86-multi-thread Copyright 1987-2004, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using `man perl' or `perldoc perl'. If you have access to + the Internet, point your browser at http://www.perl.com/, the Perl Home Pa +ge.
Re^3: Unsupported function alarm
by ikegami (Patriarch) on Sep 20, 2006 at 19:02 UTC
    That must be very outdated. alarm interrupted sleep for me in ActivePerl 5.8.0 and 5.8.8 (but not in 5.6.1) on WinXP.
Re^3: Unsupported function alarm
by jdtoronto (Prior) on Sep 21, 2006 at 12:34 UTC
    That's a pretty old FAQ, alarm has been in ActiveState Perl since 5.8.

    jdtoronto

    Update Then I look further down and see ikegami already said that!

      From ActivePerl documentation it seems alarm is not yet support Certain functions don't seem to work on ActivePerl. There are several functions that are unimplemented in the ActivePerl system. Here is a complete list of unimplemented functions: Functions for processes and process groups alarm(), getpgrp(), getppid(), getpriority(), setpgrp(), setpriority() can someone please confirm if it is supported

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://573999]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.