in reply to symbolic reference & loading hashes
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: symbolic reference & loading hashes
by ikegami (Patriarch) on Jul 20, 2007 at 16:39 UTC |