in reply to Adding param to a specified URL
prints...use URI; my $user_url = "http://www.stonehenge.com/cgi/dilbert"; my $params = [ max => 5, scary => "%&foo;%" ]; # ... my $uri = URI->new($user_url); $uri->query_form(@$params); print $uri->as_string;
I presume that's what you're looking for. If not, ask again. URI is part of LWP, which you should have installed anyway. {grin}http://www.stonehenge.com/cgi/dilbert?max=5&scary=%25%26foo%3B%25
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: Adding param to a specified URL
by Anonymous Monk on Mar 28, 2002 at 19:15 UTC | |
by merlyn (Sage) on Mar 28, 2002 at 19:21 UTC | |
|
Re: ?Re: Adding param to a specified URL
by RMGir (Prior) on Mar 28, 2002 at 14:44 UTC |