If you mean above, you are right.. It gives me warning. IMHO, it is correct. You can possibly store your hash-keys in another hash. In order to be defined for the hash $hash{$key} is necessary which is not preserved after 'deletion' or undef operation on hash itemsuse strict; use warnings; my @load_array = (1,2,3); my %load_number_hash = (); foreach(@load_array){ $load_number_hash{$_} = $_; } %load_number_hash = (); print $load_number_hash{1};
In reply to Re: Hash problem
by artist
in thread Hash problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |