Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Perl infinite loops!

by silicon39 (Initiate)
on Dec 06, 2000 at 22:17 UTC ( [id://45265]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl infinite loops!
in thread Perl infinite loops!

This worked great, but I can't get the handler to work. It gives me a "Spurious backslash ignored" on the "$SIG{ALRM} = \&sighandler;" line. I'm not an advanced Perl programmer, so I'm not quite sure where to go, but the alarm() call worked well. Thanks. Ian. BTW, we're still on Perl 4.xxxx (Aaarrrrgh! Don't say anything about this!) :-)

Replies are listed 'Best First'.
Re: Re: Re: Perl infinite loops!
by kilinrax (Deacon) on Dec 06, 2000 at 23:10 UTC
    Iirc, the syntax in Perl 4 is:
    $SIG{ALRM} = 'sighandler';
    Though i could easily be wrong about that :-/

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://45265]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-03-28 15:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found