http://qs321.pair.com?node_id=119717


in reply to Re: Help with Text::ParseWords
in thread Help with Text::ParseWords

Thanks. I have resolved that problem and actually have it working now. For future reference though, do you have any suggestions on how to seperate "Leppala"01261907 or "Saukville""WI" If not though that is cool as I have it working properly now. peace dez L

Replies are listed 'Best First'.
Re: Re: Re: Help with Text::ParseWords
by nardo (Friar) on Oct 18, 2001 at 20:24 UTC
    If you are unconcerned about escaped quotes ("George \"The Man\" Washington") a quick way would be to set $keep to 1
    &quotewords('\s+', 1, $_);
    and then split on quotes.