Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: using <pre> tags for citing perldocs!

by aquarium (Curate)
on Aug 04, 2010 at 06:03 UTC ( #852803=note: print w/replies, xml ) Need Help??

in reply to using <pre> tags for citing perldocs!

You can refer to more extensive text of documentation with a url to the perldocs. Smaller text is trivial to reformat as needed to put in code tags.
Theoretically the hosting server could use something like Pygmy or similar package to remove all extra whitespace and apply a consistant formatting style to all code tagged blocks..with caching etc. But then that sounds like too much work and testing.
I do agree that the automated line breaks with added plus signs are a bit of an eye-sore. Doesn't help also that you can't TAB indent easily when typing a little code snippet.
the hardest line to type correctly is: stty erase ^H
  • Comment on Re: using <pre> tags for citing perldocs!

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://852803]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2022-01-22 19:55 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (63 votes). Check out past polls.