podsnippets - extract tests out of Perl pod
podsnippets [ options ] pod files
podsnippets extracts code out of the pod files it receives as arguments and prints it out in stdout.
Enable or disable the extraction of verbatim code found in the pod file. By default, verbatim code is extracted.
Enable or disable the extraction of function definitions from the pod file. If enabled, headers of the form
=head1 FUNCTIONS =head2 foo( $bar, $baz )
are going to be extracted as
@result = foo( $bar, $baz );
By default, function definitions are not extracted.
Enable or disable the extraction of method definitions from the pod file. If enabled, headers of the form
=head1 METHODS =head2 foo( $bar, $baz )
@result = $thingy->foo( $bar, $baz );
By default, method definitions are not extracted.
Test::Pod::Snippets
Please report any bugs or feature requests to bug-test-pod-snippets at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Pod-Snippets. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-test-pod-snippets at rt.cpan.org
This document describes pod2snippets version 0.03_03
Yanick Champoux, <yanick at cpan.org>
<yanick at cpan.org>
Copyright 2006, 2007, 2008 Yanick Champoux, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Test::Pod::Snippets, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Pod::Snippets
CPAN shell
perl -MCPAN -e shell install Test::Pod::Snippets
For more information on module installation, please visit the detailed CPAN module installation guide.