@ar=[1..10]; %hash=(a=>1,b=>4,c=>7);
$j=1|2|3; $k="a"|"c";
$u = @ar[$j]; # 2|3|4 $v = %hash{$k}; # 1|7
Does this make sense to others?
David
@ar=[1..10]; %hash=(a=>1,b=>4,c=>7);
$j=1|2|3; $k="a"|"c";
$u = @ar[$j]; # 2|3|4 $v = %hash{$k}; # 1|7
Does this make sense to others?
David