20 Mar 2006 19:58:49 UTC
- Distribution: Pod-Strip
- Module version: 1.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (12335 / 29 / 1)
- KwaliteeBus factor: 1
- 100.00% Coverage
- License: perl_5
- Activity24 month
- Download (3.04KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Pod::Strip - Remove POD from Perl code
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
Pod::Strip is a subclass of Pod::Simple that strips all POD from Perl Code.
All methods besides those listed here are inherited from Pod::Simple
Generate a new parser object.
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.
Please report any bugs or feature requests to
email@example.com, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
Copyright 2004, 2005, 2006 Thomas Klausner, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.