On Wed, May 27, 2009 at 11:15:19AM +0200, nadim khemir wrote:
> On Thursday 21 May 2009 16.26.48 David Cantrell wrote:
> > The obvious solution is to have both module and script #include the
> > appropriate chunk of POD.
> >
> > So I'm thinking:
> >
> > =begin cpp
> > ...
> > =end cpp
> >
> > has anyone already done this?  And if not, am I correct in thinking that
> > I need to write Pod::cpp, have that as a pre-req, and basically follow
> > the recipe in the Pod::Simple::Subclassing doco?
> As rjbs wrote, this is something to do while building your module. any 
> pre-processor would work.

Yes, that's what I ended up doing, at 'make dist' time.  There's a
complete write-up of what I did here:
  http://www.cantrell.org.uk/david/journal/index.pl/id_pod-includes

It's ugly, but it works.  I may at some point bundle it all up into
something that other people can use easily.

-- 
David Cantrell | top google result for "topless karaoke murders"

" In My Egotistical Opinion, most people's ... programs should be
  indented six feet downward and covered with dirt. "
      --Blair P. Houghton

Reply via email to