in reply to Re^2: Surprised by joinin thread Surprised by join
$res .= $sub->($_[$i-1], $_[$i]) . $_[$i];
it would be
local $a = $_[$i-1]; local $b = $_[$i]; $res .= $sub->() . $_[$i]; [download]