- or download this
foreach $item(@pairs) {
my($key,$content) =split (/=/, $item, 2);
...
$content=~s/%(..)/pack("c",hex($1))/ge;
my($fields{$key})=$content;
}
- or download this
my (%hash);
foreach $item(@pairs) {
...
$content=~s/%(..)/pack("c",hex($1))/ge;
$fields{$key}=$content;
}
- or download this
<code>
my (%hash);
...
$content=~s/%(..)/pack("c",hex($1))/ge;
my($fields{$key})=$content;
}