?my $filecontent = "{type line} {series {{1 {{x_data {1 2 3 4 5}} {y"; my ( $xdata ) = $filecontent =~ / x_data .*? ({.*?})/xms; my @x; while ($xdata =~ /(\d+)/g) { push @x, $1; }
In reply to Re: Keyed list in perl
by lima1
in thread Keyed list in perl
by mc_pandey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |