1Pod::Strip(3) User Contributed Perl Documentation Pod::Strip(3)
2
3
4
6 Pod::Strip - Remove POD from Perl code
7
9 use Pod::Strip;
10
11 my $p=Pod::Strip->new; # create parser
12 my $podless; # set output string
13 $p->output_string(\$podless); # see Pod::Simple
14 $p->parse_string_document($code); # or some other parsing method
15 # from Pod::Simple
16 # $podless will now contain code without any POD
17
19 Pod::Strip is a subclass of Pod::Simple that strips all POD from Perl
20 Code.
21
23 All methods besides those listed here are inherited from Pod::Simple
24
25 new
26 Generate a new parser object.
27
28 replace_with_comments
29 Call this method with a true argument to replace POD with comments
30 (looking like "# stripped POD") instead of stripping it.
31
32 This has the effect that line numbers get reported correctly in error
33 messages etc.
34
36 Thomas Klausner, "<domm@cpan.org>"
37
39 Please report any bugs or feature requests to
40 "bug-pod-strip@rt.cpan.org", or through the web interface at
41 <http://rt.cpan.org>. I will be notified, and then you'll
42 automatically be notified of progress on your bug as I make changes.
43
45 Copyright 2004, 2005, 2006 Thomas Klausner, All Rights Reserved.
46
47 This program is free software; you can redistribute it and/or modify it
48 under the same terms as Perl itself.
49
50
51
52perl v5.32.0 2020-07-28 Pod::Strip(3)