Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2016-12-11 01:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (168 votes). Check out past polls.