One nasty trick I use to get at my POD and still have it render is the following:
my $pod = <<'=cut'; =head1 delete ... =cut
I'm not sure if Pod::Weaver refuses to convert that pod, but pod2html and CPAN know what to do and properly display that POD. Once you have your POD in a string, you can format it for further processing anyway.
In reply to Re: Extracting and formatting Pod sections
by Corion
in thread Extracting and formatting Pod sections
by Mike.lifeguard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |