good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Regex to convert non-printable to printable charby tobyink (Canon) |
on Aug 18, 2012 at 06:52 UTC ( [id://988164]=note: print w/replies, xml ) | Need Help?? |
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'
In Section
Seekers of Perl Wisdom
|
|