which generates$main = 'http://cgi3.ebay.com/aw-cgi/eBayISAPI.dll'; $ru = "http://encode_this/"; use URI; my $uri = URI->new($main); $uri->query_form( qw(MfcISAPICommand SignInWelcome userid userid pass pass keepMeSignI +nOption 1), ru => $ru ); print $uri->as_string;
http://cgi3.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=SignInWelcom +e&userid=userid&pass=pass&keepMeSignInOption=1&ru=http%3A%2F%2Fencode +_this%2F
-- Randal L. Schwartz, Perl hacker
In reply to •Re: Packing a URL into a URL
by merlyn
in thread Packing a URL into a URL
by keith
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |