Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: pod::usage "-sections" not working

by Anonymous Monk
on Apr 26, 2013 at 07:06 UTC ( #1030785=note: print w/replies, xml ) Need Help??


in reply to pod::usage "-sections" not working

FYI, this is how your failing pod is parsed

$ perl -MPod::Simple::DumpAsXML -e " Pod::Simple::DumpAsXML->filter(s +hift)->any_errata_seen" udge <Document start_line="5"> <head1 start_line="5"> SYNOPSIS here&#39;s the main usage stuff </head1> <head1 start_line="8"> SPECIAL special usage stuff here... </head1> </Document>

Corrected pod, like toolic wrote, with the head sections being one word strings :)

$ perl -MPod::Simple::DumpAsXML -e " Pod::Simple::DumpAsXML->filter(s +hift)->any_errata_seen" udge <Document start_line="5"> <head1 start_line="5"> SYNOPSIS </head1> <VerbatimFormatted start_line="7" xml:space="preserve"> here&#39;s the main usage stuff </VerbatimFormatted> <head1 start_line="9"> SPECIAL </head1> <VerbatimFormatted start_line="11" xml:space="preserve"> special usage stuff here... </VerbatimFormatted> </Document>

In pod, empty line is paragraph separator, perlpod, perlpodspec

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1030785]
help
Chatterbox?
[holli]: i saw that thread and figured it`s OPP value too high. i didnt realise its PM code
[LanX]: its the style attribute, I can't show you pm code, can only link to old everything docs of you want
[holli]: i'd like to keep my sanity, tyvm
[holli]: at least what's left off it :)
[LanX]: the+everything+ bible
[LanX]: http://web.archive .org/web/ 20071005212040/ http://www. everydevel.com:80/ index.pl?node= Everything %20Diagram

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2017-11-20 21:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (294 votes). Check out past polls.

    Notices?