Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Magic Status Variable

by rjray (Chaplain)
on Mar 02, 2002 at 00:23 UTC ( #148737=note: print w/ replies, xml ) Need Help??


in reply to Magic Status Variable

Consider implementing a "callback" system as an option over (or in place of) the warn statement. Allow the programmer to provide a coderef that gets called with the object ($self) and the warning message as arguments.

Consider the applications to event-based environments like Tk, GTK+, etc., that may not have a STDERR in the traditional sense.

--rjray


Comment on Re: Magic Status Variable
Re: Re: Magic Status Variable
by particle (Vicar) on Mar 02, 2002 at 01:39 UTC
    done. i've implemented your changes, and reposted the code above. thanks for your suggestions!

    ~Particle ;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2015-07-06 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (80 votes), past polls