Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: hash to query string using semicolon

by jasonk (Parson)
on Feb 16, 2009 at 22:18 UTC ( [id://744231]=note: print w/replies, xml ) Need Help??


in reply to hash to query string using semicolon

URI::QueryParam doesn't use anything for query parameters, it just passes it's data on to URI, which lets you choose how they are delimited...

use URI; my $u = URI->new( "http://www.example.com/" ); $u->query_form( { foo => 1, bar => 2 }, ';' ); print "$u\n";

And if you just want the query string, you can get it from $u->query.


www.jasonkohles.com
We're not surrounded, we're in a target-rich environment!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://744231]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-03-28 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found