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


in reply to A more concise way to map the contents of an array.

my @cell_contents = map 1-!$_, @$array_ref[3..10];
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'