Pod::Strip(3pm)

Pod::Strip3pm

Remove pod from perl code

Usage

    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

Version

version 1.100

Overview

Pod::Strip is a subclass of Pod::Simple that strips all POD from Perl Code.

Methods

All methods besides those listed here are inherited from Pod::Simple

new

Generate a new parser object.

replace_with_comments

Call 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.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0–8
  2. 9–10
  3. 11
  4. 12–13

Author

Thomas Klausner <[email protected]>

From libpod-strip-perl 1.100-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.