in reply to POD link to example script in module distribution?

No, that stuff doesn't get installed, so you can't link to it. What you should use is F<eg/example.pl>.

For example,

You can browse the eg/ directory online from the [Browse] link on the http://search.cpan.org/~gaas/HTML-Parser/ page.

You could also persuade the maintainer of search.cpan.org (and cpan.uwinnipeg.ca) to turn F<eg/example.pl> into the appropriate link.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re^2: POD link to example script in module distribution?
by saintmike (Vicar) on Aug 24, 2005 at 06:09 UTC
    No, that stuff doesn't get installed, so you can't link to it.
    Just curious: What if it does get installed via EXE_FILES => ['eg/example.pl'], in Makefile.PL?
      See 'perldoc perlpod' and 'perldoc perlpodspec', but basically L<example> althrough that would be a poor thing to end up in a perl bin directory.

      MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
      I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
      ** The third rule of perl club is a statement of fact: pod is sexy.