Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 romping around the Monastery: (12)
As of 2014-07-11 21:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (235 votes), past polls