1Pod::Strip(3) User Contributed Perl Documentation Pod::Strip(3)
2
3
4
6 Pod::Strip - Remove POD from Perl code
7
9 version 1.100
10
12 use Pod::Strip;
13
14 my $p=Pod::Strip->new; # create parser
15 my $podless; # set output string
16 $p->output_string(\$podless); # see Pod::Simple
17 $p->parse_string_document($code); # or some other parsing method
18 # from Pod::Simple
19 # $podless will now contain code without any POD
20
22 Pod::Strip is a subclass of Pod::Simple that strips all POD from Perl
23 Code.
24
26 All methods besides those listed here are inherited from Pod::Simple
27
28 new
29 Generate a new parser object.
30
31 replace_with_comments
32 Call this method with a true argument to replace POD with comments
33 (looking like "# stripped POD") instead of stripping it.
34
35 This has the effect that line numbers get reported correctly in error
36 messages etc.
37
39 Thomas Klausner <domm@plix.at>
40
42 This software is copyright (c) 2004 - 2021 by Thomas Klausner.
43
44 This is free software; you can redistribute it and/or modify it under
45 the same terms as the Perl 5 programming language system itself.
46
47
48
49perl v5.34.0 2022-01-21 Pod::Strip(3)