Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

(bbfu) (nested limits) Re: Perl syntax for enforcing time limits

by bbfu (Curate)
on Apr 30, 2001 at 07:34 UTC ( [id://76540]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    use TimeLimit;
    ...
    $elapsed_inner  = $inner2-$inner1;
    print "Seconds elapsed for outter limit: $elapsed_outter\n";
    print "Seconds elapsed for inner limit:  $elapsed_inner\n";
    
  2. or download this
    Seconds elapsed for outter limit: 5
    Seconds elapsed for inner limit:  5
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 05:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found