Help for this page

Select Code to Download


  1. or download this
    laptop:~> perl -l -w -MURI
    my $u = new URI();
    ...
    print join ':', $u->query_form;
    __END__
    foo:bar:foo:baz
    
  2. or download this
    laptop:~> perl -l -w -MURI -MURI::QueryParam
    my $u = new URI('http://perl.com/?a=b&foo=baz&c=d&foo=bar');
    print join ', ', $u->query_param('foo');
    __END__
    baz, bar