One of my distributions is CPAN-FindDependencies.  Most of the magic is
wrapped up in a module, and specifically in the
CPAN::FindDependencies::finddeps function.

There's also a command-line script bundled with it, called cpandeps.
It's doco basically says "takes the same parameters as the finddeps
function".  But obviously it would be better to duplicate the doco there
when generating the manpage.

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?

-- 
David Cantrell | Hero of the Information Age

EIN KIRCHE! EIN KREDO! EIN PAPST!

Reply via email to