NAME
pod2snippets - extract tests out of Perl pod
SYNOPSIS
pod2snippets [ options ] pod files
DESCRIPTION
pod2snippets extracts code out of the pod files it receives as arguments and prints it out in stdout.
OPTIONS
-verbatim, -noverbatim
Enable or disable the extraction of verbatim code found in the pod file. By default, verbatim code is extracted.
-functions, -nofunctions
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.
-methods, -nomethods
Enable or disable the extraction of method definitions from the pod file. If enabled, headers of the form
=head1 METHODS
=head2 foo( $bar, $baz )
are going to be extracted as
@result = $thingy->foo( $bar, $baz );
By default, method definitions are not extracted.
SEE ALSO
BUGS
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.
VERSION
This document describes pod2snippets version 0.03_02
AUTHOR
Yanick Champoux, <yanick at cpan.org>
COPYRIGHT & LICENSE
Copyright 2006, 2007 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.