http://qs1969.pair.com?node_id=852494


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