Help for this page

Select Code to Download


  1. or download this
    my $value = 'foo&bar=baz';
    my $key   = 'something'
    
    my $url1 = encode_url("http://example.com/script?$value=$key");
    my $url2 = 'http://example.com/script?%s=%s', map encode_url_chunk($_)
    +, $key, $value;