in reply to CGI : How to put an "&" into a GET-parameter

You can build your query string using URI::Escape as suggested by BazB, but you can also do something like this:

$a = CGI->new({'id'=>'A-001', 'song'=>'A song', 'performers'=> 'Ike & Tina Turner'}); print $a->query_string, "\n";

Ciao, Valerio

Update: merlyn's solution below is better

Replies are listed 'Best First'.
•Re: Re: CGI : How to put an "&" into a GET-parameter
by merlyn (Sage) on Jan 28, 2003 at 16:04 UTC