for (sort { $b <=> $a } @array_of_loci)
should be
for (sort { $a <=> $b } @array_of_loci)
In reply to Re^5: Stuck with manipulating an array
by tybalt89
in thread Stuck with manipulating an array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |