Don't do that, see other replies!my $str1="a,b,c"; my $str2="1,2,3"; @h{eval$str1}=eval$str2
In reply to Re: looking for a perl way to build a hash
by brx
in thread looking for a perl way to build a hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |