http://qs321.pair.com?node_id=988164


in reply to Regex to convert non-printable to printable char

You know \x09 is tab, \x0A is line feed, and \x0D is carriage return. You probably don't want to replace those.

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