Hey all,
I have a file with some data that has like nested parens.. example
yes( "hello" "goodbye"
( (one 2) (two 3) (three 4)
)
(( mon 1) (tues 2) (wed 3)
)
((jan 1) (feb 2) (march 3)
)
)
I need help in trying to break this up and make key value pairs out of
the data example:
KEY VALUE
one 2
two 3
three 4
mon 1
tues 2
wed 3
jan 1
feb 2
march 3
I currently to a while loop in the file and join each line and count the
opening and closing parens, this gets the entire set of lines in one
array location for me. Now I get confused and need help to parse it
into key value pairs.
Thanks
perl knucklehead
)