g-monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I was hoping someone could pass on the wisdom of how to handle a url where one of the param values contains an ampersand.
e.g. &genre=Journal&title=Molecular & cellular biomechanics&atitle=....
My program currently would handle the url like so;
foreach my $key (@keys) { print "$key - " . param($key) ." <br>"; }
output...
genre - Journal
title - Molecular
cellular biomechanics -
Thanks for your help.
Gary
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: param() and param value that contains &
by CountZero (Bishop) on Nov 10, 2010 at 06:55 UTC | |
|
Re: param() and param value that contains &
by ikegami (Patriarch) on Nov 10, 2010 at 06:56 UTC | |
by g-monk (Initiate) on Nov 11, 2010 at 04:24 UTC | |
by ikegami (Patriarch) on Nov 11, 2010 at 05:13 UTC |