in reply to Re: String::Escape
in thread efficient char escape sequence substitution

Oh, no: I don't think it does hex or octal escapes. Sorry. It ought to!

Maybe you could base something that does on the String::Escape code, though.