mc_pandey has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am new to perl ..can someone please help me in handling keyed list in perl?
I have a keyed list in a file f1.chart as-
{chart {{1 {{title title_1} {xlable X-lab} {ylable Y-lab} {description + desc1} {type line} {series {{1 {{x_data {1 2 3 4 5}} {y_data {20 90 +60 50 30}}}}}}}}}}
Now i want to get the value of x_data (1 2 3 4 5) and y_data (20 90 60 50 30) in a perl script.
How do i get that?
20070313 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Keyed list in perl
by lima1 (Curate) on Mar 13, 2007 at 11:02 UTC | |
|
Re: Keyed list in perl
by ferreira (Chaplain) on Mar 13, 2007 at 14:25 UTC | |
|
Re: Keyed list in perl
by siva kumar (Pilgrim) on Mar 13, 2007 at 11:01 UTC | |
|
Re: Keyed list in perl
by whereiskurt (Friar) on Mar 13, 2007 at 13:19 UTC | |
|
Re: Keyed list in perl
by ww (Archbishop) on Mar 13, 2007 at 14:53 UTC | |
|
Re: Keyed list in perl
by jettero (Monsignor) on Mar 13, 2007 at 14:54 UTC | |
|
Re: Keyed list in perl
by pKai (Priest) on Mar 13, 2007 at 23:30 UTC |