Personal coding preferences aside, I did consider something along the lines you have here but decided against it for two reasons.
(Minor point: You have $arrayref->[i] in a number of places.)
Regards,
PN5
In reply to Re^3: How to pass two lists to a sub?
by Prior Nacre V
in thread How to pass two lists to a sub?
by YAFZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |