logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Pod::Strip - Remove POD from Perl code

Author

       Thomas Klausner <domm@plix.at>

Description

       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.

Name

       Pod::Strip - Remove POD from Perl code

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

Version

       version 1.100

See Also