Subject: | Any pod after __END__ is ignored |
If a module has all of its pod after
__END__
then Module::Metadata reports that there's no pod.
For example, HTTP::Client has this, and when I try Module::Metadata on HTTP::Client, I get
contains-pod = -1
pod =
This is down to the following line in Module::Metadata:
last if $line =~ /^__(?:DATA|END)__$/;
If I comment out this line, then I get:
contains-pod = 7
pod = NAME,SYNOPSIS,DESCRIPTION,METHODS,EXAMPLE,SEE ALSO,AUTHOR,COPYRIGHT AND LICENSE
A quick check turned up a good number of modules with all of their pod after __END__
I was going to offer to make the change and release, but noticed there's half a YAPC on the maintainer list for this module already!