Well, the straight forward way would be
foreach( 0 .. $#keys ) { $hash{ $keys{ $_ } } = $values{ $_ } || ''; }
In reply to Re: Re: Hash slices and too many keys (Update cause I can't edit a root node)
by lestrrat
in thread Hash slices and too many keys
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |