Hi,

I'm interested in doing a whitespace split on a string, but that takes
quotes (single and double) into account, e.g. I'd like

dog cat 'tortoise and the hare' cow

to split into:

('dog', 'cat', 'tortoise and the hare', 'cow')

Is there a good way to do this?

- B



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to