in reply to Re: Re: Re: Dump a directory as links from CGI
in thread Dump a directory as links from CGI
In particular, what you want is:
which prints$site = 'http://www.perlmonks.org/index.pl'; $user = 'Clive ;-)'; # my test case for whitespace and funny chrs use URI; my $uri = URI->new($site); $uri->query_form( node => $user ); print $uri->as_string;
http://www.perlmonks.org/index.pl?node=Clive+%3B-)
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dump a directory as links from CGI
by cLive ;-) (Prior) on Jun 03, 2001 at 03:35 UTC |