in reply to Re: No line breaks in inline code
in thread No line breaks in inline code

Inserting a long line as inliner code is rather bad style, don't you think so?
Yes, but the code doesn't have to be long to end up broken, it just has to be embeded in the text so that it doesn't fit entirely in the current line.

If the author doesn't want automatic line breaks he should insert one by himself.
That's a good point and it would work well for oneliners. But there might be cases where you want your code to be inlined, and it ends up being broken although it's very short. Like my @array;,next unless /regex/ or perl -ne. You could use non breakable spaces to prevent breaking, but that's very cumbersome.

Edit: corrected typos

Replies are listed 'Best First'.
Re^3: No line breaks in inline code
by LanX (Saint) on Mar 24, 2017 at 15:45 UTC
    The reader just needs to resize his browser.

    I agree that there are cases where a break is unfortunate, but I think the most common cases are well covered.

    Update: Or stated differently: IMHO changing the default will cause more problems and complaints.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

      Well I've been reading perlmonks for quite a while now without even noticing the issue, so I'm not going to throw a tantrum* over it. Like I said, the line of CSS I have shared lets other monks chose the behaviour they prefer.

      *besides, I've just learned that, not being born a monk, I'm not elligible to be president here. What's the point of throwing a tantrum if you can't become president?

        > lets other monks chose the behaviour they prefer.

        My apologies, I read it as a change request.

        > What's the point of throwing a tantrum if you can't become president?

        Not sure if you'll ever get a visa for the US again, if you keep repeating responding to my undiplomatic jokes. ;-)

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Je suis Charlie!