...other than the fact that it does not work...
Your my in the sub hides the "outer" @a and @b.
I did mention your technique as (Ok a third way is via a out of bounds global thingy.)
In reply to Re^3: Returning two lists from a sub
by otto
in thread Returning two lists from a sub
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |