SmokeyB has asked for the wisdom of the Perl Monks concerning the following question:
to look like:my $thisRocks = " That's what I said!";
I've found solutions to spliting on spaces except in quotes, but I was wondering if there is a way to do so with a substitution, or any other command. Cheers!my$thisRocks=" That's what I said!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Remove Tabs and white space from a line except in Quotes
by Zaxo (Archbishop) on Jun 26, 2003 at 15:18 UTC | |
|
Re: Remove Tabs and white space from a line except in Quotes
by chip (Curate) on Jun 26, 2003 at 15:38 UTC | |
by SmokeyB (Scribe) on Jun 26, 2003 at 15:56 UTC | |
by SmokeyB (Scribe) on Jun 26, 2003 at 18:10 UTC | |
|
Re: Remove Tabs and white space from a line except in Quotes
by BrowserUk (Patriarch) on Jun 26, 2003 at 17:28 UTC | |
|
Re: Remove Tabs and white space from a line except in Quotes
by hardburn (Abbot) on Jun 26, 2003 at 15:20 UTC |