Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2016-08-25 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (354 votes). Check out past polls.