You can put a simple example in the POD's "SYNOPSYS" section of your module
as you can find on most of Perl modules (check a random CPAN module to see).

See :
  * http://juerd.nl/site.plp/perlpodtut
  * http://perldoc.perl.org/perlpodstyle.html


~$&bast1

On Thu, Oct 9, 2014 at 10:52 PM, Alex Becker <asb.c...@gmail.com> wrote:

> Hi all!
>
> Similar to my question about the lib folder of a Perl module, I would like
> to knoe where one should put example scripts in a CPAN distribution.
>
> I've seen modules using an eg folder and I'm always tempted to use a more
> mnemonic version: examples.
>
> Is there a best practice? I know of TIMTOWTDI but I don't care, I just
> want to deliver something that people can easily use.
>
> Thanks in advance & kind regards,
> Alex
>

Reply via email to