Hi
vit,
this will decode url-encoded characters, however have you considered the
CGI module?
use CGI;
with or without
qw/:standard/ or
CGI::Pretty if you want to out put formatted HTML
Now
param('men\'s_cloth'); returns the associated value or if this is a value, it will be avalable under the appropriate parameter.
BTW, is taint (-t) on? because you should be suspicious of quote characters returned to your script.