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


in reply to Re^2: Program unexpectedly terminates
in thread Program unexpectedly terminates

Thank you for providing code that neither compiles nor illustrates your problem Mr Anonymous.

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