I believe what you are looking for is:
@{@keys} = @values;
${...} is scalar, but the return you want is an array @rld is the keys in the package hash. @{...} takes keys and returns values. ${...} takes a key and returns a value.
In reply to Re: symbolic reference & loading hashes
by neosamuri
in thread symbolic reference & loading hashes
by jcmmat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |