Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Need Help With Alarm And Eval

by afoken (Parson)
on Dec 07, 2012 at 15:34 UTC ( #1007758=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    withTimeout(30,\&doSomething,sub { die 'Oooops, doSomething was too sl
    +ow' }); # <-- timeout after 30 seconds
    doSomething(); # <-- no timeout here
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2014-09-20 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (163 votes), past polls