Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: using <pre> tags for citing perldocs!

by almut (Canon)
on Aug 02, 2010 at 16:15 UTC ( #852494=note: print w/ replies, xml ) Need Help??


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

If I'm understanding you correctly, you'd prefer <pre> over <code> tags here, because the former don't autowrap long lines (at least by default, unless you fiddle with the style sheet).

OTOH, as I remember from previous similar discussions, it's mainly for this reason that they're considered a sin...


Comment on Re: using <pre> tags for citing perldocs!
Select or Download Code
Re^2: using <pre> tags for citing perldocs!
by LanX (Abbot) on Aug 02, 2010 at 16:29 UTC
    what I'm meaning is that autowrapping a text at char 70 (or 72?) which is already wrapped at char 80 isn't that fortunate.

    That's why I suggest change "code" to autowrap at char 80 or to introduce a new tag which autowraps at char 80. (I have problems to imagine displays which can handle 72 chars but not 80)

    At the moment "pre" is the best solution for perldocs.

    Cheers Rolf

      I think the idea is that you adjust it in your personal Display Settings ("Code Wrap Length") if you don't like the default.

      (Yes, I agree that - for the average display - 80 might be a more useful default (I've set mine to 100) — but I'm not the one to make the change.)

        > I think the idea is that you adjust it in your personal Display Settings ("Code Wrap Length") if you don't like the default.

        PERRRRRRRFECT! Almut++! =)

        here a direct link for others interested! Display Settings

        Cheers Rolf

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2014-04-16 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (433 votes), past polls