Unlike arturo's code, it writes a list where it means to write a list. See MeowChow's comments; here all values get set to undef "implicitly".@hash{@keys} = ();
In reply to Re: How can I assign the elements in an array to only the key values in a hash?
by ariels
in thread How can I assign the elements in an array to only the key values in a hash?
by blackjudas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |