in reply to Remove Tabs and white space from a line except in Quotes

I've found solutions to spliting on spaces except in quotes,...

Almost there, just do: my $result = join '', @the_so_split_array; Be careful if you apply this to perl code, as your example suggests. Some whitespace is necessary. $foo or die is not the same as $fooordie.

After Compline,
Zaxo