http://www.perlmonks.org?node_id=378849


in reply to Re^2: Paul Graham on Great Hackers ('newlines')
in thread Paul Graham on Great Hackers

Actually, I'm using Firefox 0.8. If there is any more information you like, just let me know.

I've noticed that it seems to happen if I select the text from another window and just paste it in with my middle mouse button. If I type it in normally, there's no problem.

Typed:

sub foo { bar(); baz(); }

Pasted:

sub foo { bar(); + baz(); }

Cheers,
Ovid

New address of my CGI Course.

Replies are listed 'Best First'.
Re^4: Paul Graham on Great Hackers ('newlines')
by runrig (Abbot) on Jul 31, 2004 at 17:20 UTC
    This probably has nothing to do with the problem you're having, but whenever I cut text out of a terminal window, there's always trailing spaces, so when I paste into something else, it sometimes messes up the format. So I often paste into Vim first, and remove all the trailing spaces before cut n pasting somewhere else (and I nearly always have a Vim window open).