The stupid question is the question not asked | |
PerlMonks |
Re: common replacement code ill-understoodby davido (Cardinal) |
on Jun 11, 2006 at 05:45 UTC ( [id://554655]=note: print w/replies, xml ) | Need Help?? |
It matches a two-digit hexidecimal number preceded by a %. That entity ( %7F, for example) is converted to a base-10 equivalent (some number between 0 and 255), and then that number is converted into a single byte, and substituted into the original string in place of the original hexidecimal entity. See perlre, hex, and pack for further information. Dave
In Section
Seekers of Perl Wisdom
|
|