http://www.perlmonks.org?node_id=1021953


in reply to Re^2: Name "main::a" used only once: possible typo
in thread Name "main::a" used only once: possible typo

I'd probably put the our ($a,$b) outside of that block, but this is what I had in mind. I was just interested in more options. - Thanks
out ($a, $b); reduce { $a * $b } 1 .. 6;