in reply to Re: Auto text format cleanup via Win32::Clipboard
in thread Auto text format cleanup via Win32::Clipboard

Greetings EvanK,

Actually on line 16 (if you include spaces) the line that reads:

$text =~ s/[ \n\t\f]+/ /g;

will sub-out all tabs and other stuff for spaces. I would have put \s except I used \r as a paragraph delimiter, so I had to specifically specify the \s set without \r in it.

-gryphon
code('Perl') || die;

Update: Oops. Sorry, just noticed you were replying to "version 1" not the updated code. You're right, I should have added that...