in reply to Re^4: using map
in thread using map

And so printf $_ acts exactly like print $_.

Not exactly.    printf still has to parse $_ looking for format specifiers.    And print is affected by the $\ and $, variables while printf is not.

Replies are listed 'Best First'.
Re^6: using map
by tobyink (Canon) on May 06, 2012 at 07:24 UTC

    That's what I just said, isn't it?

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'