in reply to Re^2: Is there a more functional regex syntax?
in thread Is there a more functional regex syntax?

Some regexes will work inside those parentheses.

$totals[$_] += ($range =~ /(\d+)/g)[$_] for 0, -1;
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'