Only thing I'd change is to use the character class \w
$understanding =~ s/(\w{2})/chr hex $1/eg; [download]
In reply to Re: Understanding and Knowledge by wind in thread Understanding and Knowledge by 1ee7