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


in reply to Re^3: How to grep exact string
in thread How to grep exact string

I imagine that Perl will continue to support the old behaviour by default and an explicit use 5.xxx statement will enable the new behaviour via feature. (Much like how use 5.010 enables state, say, etc.)

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