Brad Appleton wrote:
> 
> Hmmn - not sure what you mean by "generate" callbacks.

The C<$self->cmd_head1()> style calls we've discussed before.  Sorry
to continue out-of-context context here :-/.

> Pod::Parser already provides for registration and invocation
> of callbacks in a number of ways, same which use inheritance
> and some which use code-refs.  I had in mind to have all of
> them use code-refs eventually (resolving all inherited method
> calls to code-refs with an initial preprocessing step).

One thing I've found useful in XML::Parser is the ability to
change handlers mid-stream.  But not that often, I guess.

> So that part can genuinely go into Pod::Parser, and I have
> some initial code if anyone wants to run with it.

I was going to ask you to send it to me, along with what you didn't
like about the API, after your message of Friday, but I'm tuit-starved
at the moment.

Or I'd have already toosed together a Pod::StdParser to test how
factorable things like Pod::Text are and to demonstrate C<=also>.

- Barrie

Reply via email to