Answering my own question: The double quotes cause the backslashes to be interpolated, resulting in weirdness. Solution: quotewords('[^A-Z ... .eric. >Hello: > >My reading of the pod for Text::ParseWords indicates to me that the >following string: > >my $string = "one,two", when put through > >my @parsedWords = quotewords("[^A-Za-z\'\-0-9]",'',$string); > >will produce an array of length two called parsedWords where > >$parsedWords[0] = "one" and $parsedWords[1] = "two". What I seem to >be getting instead is $parsedWords[0] = "one,two". > >Anybody have any ideas? > >Thanks, >Eric > >==== Want to unsubscribe from this list? >==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org