develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [PATCH] Adding callbacks to the core

Thread Previous | Thread Next
David M. Lloyd
August 22, 2001 10:10
Re: [PATCH] Adding callbacks to the core
Message ID:
On Wed, 22 Aug 2001, Robin Houston wrote:

> I'm definitely not an expert on this, but it definitely seems that if
> you're _not_ an expert then this stuff is nearly impossible to get
> right if you start trying to be clever.

You're probably right; I'm thinking about changing the 'disable_callback'
docs to read this:

  Disable a previously registered callback.  If the callback is not
  enabled, does nothing.  This may be called at any time in the
  interpreter's main thread.

Then there is no problem since the callback will not go away unexpectedly
unless the programmer is naughty, in which case they deserve what they
get. :-)

- D


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About