I need to split the following:
abc, ',def' "\"ab'c,}" xyz , fred IN { 1, "x}y",3 } x, 'z'
into comma-separated fields:
1st field: abc
2nd field: ',def' "\"ab'c,}" xyz
3rd field: fred IN { 1, "x}y",3 } x
4th field: 'z'
This is similar to CSV but with a nasty { , , } construct.
Is Text::Balanced powerful enough to solve this problem or do I need
to use Parse::RecDescent or something else?
(I am a Text::Balanced beginner; I have not used Parse::RecDescent).
/-\
http://www.yahoo.promo.com.au/hint/ - Yahoo! Hint Dropper
- Avoid getting hideous gifts this Christmas with Yahoo! Hint Dropper!