in reply to Re: promoting array to a hash
in thread promoting array to a hash
...produces the following error...@a = keys (a=>1,b=>2,c=>3);
...but I'm willing to bet that there is some syntax to fix the problem.Type of arg 1 to keys must be hash (not list), blah, blah, blah
#This doesn't work @a = keys %{(a=>1,b=>2,c=>3)};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: promoting array to a hash
by Zaxo (Archbishop) on Jun 13, 2004 at 05:41 UTC | |
by sleepingsquirrel (Chaplain) on Jun 13, 2004 at 06:07 UTC |