$res .= $sub->($_[$i-1], $_[$i]) . $_[$i];
it would be
(Untested)local $a = $_[$i-1]; local $b = $_[$i]; $res .= $sub->() . $_[$i];
In reply to Re^3: Surprised by join
by eserte
in thread Surprised by join
by EdwardG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |