How to convert hex to char string in perl
<p>I need change the %xx HEX characters to chars. I am trying with this code but it does not works:</p>

<pre><code>#!/usr/bin/perl -w

my $cadena = "%40%61%62";
print $cadena."\n";
$cadena =~ s/%//g;
print "cad: ".$cadena."\n";
my $string =~ s/([a-fA-F0-9][a-fA-F0-9])/chr(hex($1))/eg;
print "traducida: ".$string;
</code></pre>