%A = (a => 1, b => 2, c => 3); %Z = (z => 9, y => 8, x => 7); @all_keys = (keys %A , keys %Z); print "@all_keys"; __END__ a b c x z y
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re: Problem combining hashes
by LanX
in thread Problem combining hashes
by jh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |