|
NAMEPod::Strip - Remove POD from Perl code VERSIONversion 1.100 SYNOPSIS use Pod::Strip;
my $p=Pod::Strip->new; # create parser
my $podless; # set output string
$p->output_string(\$podless); # see Pod::Simple
$p->parse_string_document($code); # or some other parsing method
# from Pod::Simple
# $podless will now contain code without any POD
DESCRIPTIONPod::Strip is a subclass of Pod::Simple that strips all POD from Perl Code. METHODSAll methods besides those listed here are inherited from Pod::Simple newGenerate a new parser object. replace_with_commentsCall this method with a true argument to replace POD with comments (looking like "# stripped POD") instead of stripping it. This has the effect that line numbers get reported correctly in error messages etc. AUTHORThomas Klausner <domm@plix.at> COPYRIGHT AND LICENSEThis software is copyright (c) 2004 - 2021 by Thomas Klausner. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|