Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: determining the line# of code when an alarm() trips?

by clueless newbie (Chaplain)
on Oct 18, 2007 at 20:15 UTC ( #645838=note: print w/replies, xml ) Need Help??


in reply to determining the line# of code when an alarm() trips?

If the 'offending' code is wrapped in the eval, then caller will tell you although you may have to dig a bit. If you move the code from Grandfather's sub into the eval and "dump" call in $SIG{ALRM} you will find a useful line number.
  • Comment on Re: determining the line# of code when an alarm() trips?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://645838]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-02-22 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (331 votes). Check out past polls.