the obvious disadvantage is that every hash entry is an array reference, but shouldn't matter.push @{ $hash{$_->[0]} }, $_->[1] foreach (map {[split /=/]} split (/& +/, $string));
In reply to Re: Populating an array reference in a hash with with a regex
by kabel
in thread Populating an array reference in a hash with with a regex
by diakonos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |