To add to the examples:
Jendause CGI::Enurl; $href = 'script.pl?' . enurl({ company => 'Smith & Jones', place => 'Brussels' }); If you happen to have Interpolation.pm (0.68) you may do this:<code> use CGI::Enurl; use Interpolation '?:@->$' => sub { '?'.enurl({@_})}; print qq{<a href="script.pl$?{company => 'Smith & Jones', place => 'Br +ussels'}">click here</a>\n};
In reply to Re: CGI : How to put an "&" into a GET-parameter
by Jenda
in thread CGI : How to put an "&" into a GET-parameter
by CountZero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |