In <[EMAIL PROTECTED]> on 24 Mar 2004,
   Mike Ni <[EMAIL PROTECTED]> wrote:
> Yet, I have this legacy code in hand and I need to replace the
> massive code wth perl library.

If this is not mod_perl code, try the URI module.

Example:

  use URI:

  my $param
   = { URI->new("http://localhost/?foo=bar&test=my%20val";)->query_form };
  print "$param->{foo}\t$param->{test}\n";

If you wish to discuss using this module, see the LWP mailing list.

-ccwf
-- 
Charles C. Fu                           ,--
Founder                ___  __ __. . ,-/--
Web i18n, LLC              (_,(_,|/|/ /
www.web-i18n.net                 ----'

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to