CGI-Deurl
view release on metacpan or search on metacpan
151152153154155156157158159160161162163164165166167168169170171The
%hash
then contains all CGI parameters specified there.
Ex.
deurl(
'a=5&b=13'
,\
%query
);
leads to :
$query
{a} = 5;
$query
{b} = 13;
=item deurlstr
=item $decodedstring = deurlstr $string
Decodes the string as if it was a CGI parameter value.
That is ist translates all '+' to ' ' and all
%xx to the corresponding character. It doesn't care about
'&' nor '='.
Ex.
$result = deurlstr 'How+are+you%3F';
leads to:
$result = 'How are you?'
( run in 0.235 second using v1.01-cache-2.11-cpan-0d8aa00de5b )