On Fri, Feb 23, 2001 at 04:01:57AM -0500, [EMAIL PROTECTED] wrote:
> On Fri, Feb 23, 2001 at 12:48:35AM -0800, Russ Allbery wrote:
> > You inherit from Pod::Parser, set up private stuff in initialize(), set up
> > per-file stuff in begin_pod(), and then everything else is done with
> > callbacks.  command() is called for any command paragraph (=whatever),
> > verbatim() is called for any verbatim paragraph, textblock() is called for
> > any regular paragraph, and interior_sequence() is called for every
> > interior sequence (X<>).  Print output to $self->output_handle.
> > 
> > That's basically all there is to it.  You can usually ignore much of the
> > arguments that are passed into the callbacks.
> > 
> > So if you were looking for something starting with =begin testing, for
> > example, just look for that in command() and set an internal flag when you
> > see it, just doing nothing in all the other callbacks until then.  Then,
> > if you want to look at code, that's all in verbatim paragraphs, so do all
> > the work in verbatim().  You probably don't have to care about anything
> > else; just replace them with stubs that don't output anything.
> 
> Take this, expand on it, provide code and stick it in under "=head1
> EXAMPLES"

The SYNOPSIS and QUICK OVERVIEW sections attempt to do this.
But if they fall short of that goal at present and if any of
you really wants to see those changes made, please feel free
to make them and just be sure to Cc: me on the patch.

-- 
Brad Appleton <[EMAIL PROTECTED]>  http://www.bradapp.net/
  "And miles to go before I sleep." -- Robert Frost

Reply via email to