-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ian Malpass wrote:
> I'd like to make use of Test::Pod::Snippets to test the examples in
>  my docs. The example shows using the PL_files option in Build.PL
> to create the tests automatically when you run ./Build, but this
> presumably means Test::Pod::Snippets becomes a build prereq, which
> seems silly.

Chromatic already provided a good answer: create a derivative class of
Module::Build in your Build.PL, see SUBCLASSING in Module::Build's POD
documentation.

<shameless plug>
Or, you could use Pod::Snippets, which doesn't require temporary files
and allows you to single-step through the POD with the debugger
(yow!).  Pod::Snippets works from an ordinary .t file (although
TIMTOWTDI).
</shameless plug>

- --
<< Tout n'y est pas parfait, mais on y honore certainement les
jardiniers >>

            Dominique Quatravaux <[EMAIL PROTECTED]>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBR57WXvTYH7KfeIIFAQLbCQP/W+i09mNKGhyAa0N55rhRbeVEis5GmZZE
RMzUJlEKdgD4z2eWQvvaNO7OZnfImZ/G7UO26ayNOK94hC0pZAkk4RkTa6DlRhik
Xl05cn4wm+Vk3fwRmoBW72yR7vYe5jGEkYZpZcnBqGZlBWD6584YFsGI/sUVMyCu
5T53uxIglrg=
=22wY
-----END PGP SIGNATURE-----


Reply via email to