in reply to Re: Problems with map(function, array)
in thread Problems with map(function, array)

Thank you very much. That is just what I needed. Now, instead of

sub twice { 2 * (shift // $_) }

I'll use something like

sub twice(_) { 2 * shift }