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