Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

Hi

mod is broken , anchors don't work at all, and the module name gets query escaped

doc is broken, anchors don't work right (haven't for very long time), and at one point perldoc.perl.org has updated the way anchor names are generated (dashes instead of underscores or space, but my memory is fuzzy), breaking lots of existing anchor links

Example  [doc://perlintro#String comparison], [doc://perlintro#String-comparison] -> String comparison, String comparison

I prefer href://, esp http://search.cpan.org/perldoc/Text::CSV#print because the module name doesn't get escaped (the :: still look like ::)

http://metacpan.org/module/Text::CSV#print is also good, but I stick with /perldoc/ because of (tools and dist) http://search.cpan.org/tools/CGI and http://search.cpan.org/dist/illguts/index.html

Speaking of bugs and broken links

I don't seen why the old perlop headings/anchors like s/PATTERN/REPLACEMENT/egimosx got dropped -- even s/PATTERN/REPLACEMENT/ and especially s/// ought to work, you never know what a new version of perl will bring, the old links ought to work

So fixing mod://, its a good idea, I prefer /perldoc/

Fixing doc:// would break some existing links, might require a heavyhanded solution (live test links, find nearest matching anchor, cache the results )


In reply to Re: Shortcut for referencing specific sections of CPAN documents by Anonymous Monk
in thread Shortcut for referencing specific sections of CPAN documents by Athanasius

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others taking refuge in the Monastery: (5)
    As of 2014-09-24 00:33 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (243 votes), past polls