Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Help !! I need to feed all errors to a subroutine

by bbfu (Curate)
on Jun 30, 2004 at 07:12 UTC ( #370699=note: print w/ replies, xml ) Need Help??


in reply to Help !! I need to feed all errors to a subroutine

Since Tk already captures errors, you can simply use its built-in error handling function: Tk::Error. Just defined a sub as sub Tk::Error { ... } and process the errors as you wish.

bbfu
Black flowers blossom
Fearless on my breath


Comment on Re: Help !! I need to feed all errors to a subroutine
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2014-12-26 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls