[pm-h] Pod Extract Name
Michael R. Davis
mrdvt92 at yahoo.com
Fri Mar 31 12:41:01 PDT 2017
Houston PMs,I need to pull the pod NAME for all of my .pm files for a report. There are so many POD this and that's on CPAN that I cannot find a pod parser that is simply like this.
my $pod = XXX->new(file=>"xxx.pm");my $name = $pod->name; #or $pod->head1("NAME");
Where $name would pull the "content" from the pod NAME section.
=head1 NAME
content
=cut
Does anyone have a favorite POD object?
Mike
mrdvt92
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/houston/attachments/20170331/0d2233bd/attachment.html>
More information about the Houston
mailing list