Gurus:

I have a string like this:

$s = '[EMAIL PROTECTED], "Blow, Joe" <[EMAIL PROTECTED]>,Joe Blow <[EMAIL PROTECTED]>'

And I want to be able to split it up.  Using split, like this:

my @addresses = split(/, ?/, $s);

But obviously this causes a problem because of the comma inside the
quotes.  I want three parts, and it splits it into four.  Is there
some module or nice way to have the commas inside quotes ignored?

Reply to [EMAIL PROTECTED] if possible as I'm only getting
the daily digest of this list.

Thanks,

-Mike

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to