in reply to examples in CPAN distributions

There are quite a few modules on CPAN that provide extra docs in extra POD. I'm thinking of DBIx::Simple, LWP, Template::Toolkit and Parse::RecDescent, for example.

Replies are listed 'Best First'.
Re^2: examples in CPAN distributions
by zby (Vicar) on Apr 25, 2007 at 12:31 UTC
    Example though is a bit different from extra docs - it is executable code. When the example is small enough that it can be copy-pasted then you can just put it whole into the docs, but when it is too big or comprises of many files copy-pasting it is much more inconvenient.