in reply to More regex's with hex's
s/%([0-9a-fA-F][0-9a-fA-F])/pack("c",hex($1))/ge; [download]
Of course, there are several modules, include URI::Escape module, doing the work for you.
Abigail