On 7/5/05, Michael Peters <[EMAIL PROTECTED]> wrote:
> Mark Stosberg wrote:
> 
> >>You can never do
> >>  $self->add_callback( init => sub {...})
> >>where $self is an object and have that sub get executed. It will only
> >>get executed if $self is a class name.
> >
> >
> > I see what you are saying. The callback will have to be registered by
> > a class method to be run at init time.
> >
> > But is that a problem if the code that is eventually run is an object
> > method?
> 
> I don't know. I didn't say it was a problem. I was just asking if anyone
> else thought it was a problem :)

OK, I thought you were having a problem.  I guess I misunderstood.  So
just to sum up:

No, I don't think it is a problem ;)

But perhaps it could use some more clarification in the docs (I
haven't really gone over them carefully myself, so it may already be
in there)

Cheers,

Cees

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to