You have paired them in %hash and keep the sequence in @array.@hash{@array}=@array2; foreach $v (@array) { print $hash{$v}; }
In reply to Re: avoiding the hash
by Skeeve
in thread avoiding the hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |