I think it is just a typo. It does compile OK with "return return" (which surprised me, actually) but it works just as well with just the one return.
Update: If you consider that return EXPR is just an expression with the value EXPR, but with the added side effect of returning control to the caller of the sub, then it makes sense that you can put return as many times as you like. Including (in this case, since it's the last line of the sub) zero times.
In reply to Re^3: array value generation for sections
by muntfish
in thread array value generation for sections
by murugu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |