my $h = {}; my @data = map {{%{@$h{@names} = split, $h}}} split '#', $patterns;
In reply to Re^3: Help creating a data structure out of a delimited string
by happy.barney
in thread Help creating a data structure out of a delimited string
by Conal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |