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

Re: using <pre> tags for citing perldocs!

by almut (Canon)
on Aug 02, 2010 at 16:15 UTC ( [id://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...

Replies are listed 'Best First'.
Re^2: using <pre> tags for citing perldocs!
by LanX (Saint) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://852494]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-19 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found