use Text::ParseWords; %hash = /(\w+):((?:"[^"]*"|\s*,\s*|[^ ])*)/g; for(values %hash){ my @arr=parse_line(',', 1, $_); $_ = [@arr] if @arr > 1; }
In reply to Re: Parsing issue
by I0
in thread Parsing issue
by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |