in reply to Re: qw with comma delimiter (repost)
in thread qw with comma delimiter
Why can't you just create it without qw() using single quotes so you don't get interpolation?
my @array = ('dfs$$$\,, =>/?','fd s fs%%#&//lp');
The other option if you must use qw() would be to run your parameters through some sort of filter first that escapes the spaces but that seems to defeat the purpose of using qw at all, and is only the opposite of what you just suggested (splitting on the commas after coming out of qw().
Like many others I don't understand why using qw() is a must since there are tools for doing exactly what you want to do. Single quoting separated by commas should do exactly what you want.
Lobster Aliens Are attacking the world!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Delimiting complex data (was qw with comma delimiter (repost))
by jacques (Priest) on Jul 26, 2003 at 15:59 UTC | |
by eric256 (Parson) on Jul 27, 2003 at 03:41 UTC |