in reply to Re: Re: Clean URLs and CGI.pm
in thread Clean URLs and CGI.pm
Or maybe I don't understand what you want. The 3 main ways of getting data into CGI.pm are via ISINDEX, POST, and GET. Since POST and GET both boil down to key/value pairs they are (to CGI.pm at least) interchangeable. ISINDEX is just a value without a key and is handled in param(keywords). Now why can't you use param again?if ($q->param(keywords)) { $field = $q->param(keywords); } else { $field = $q->param(field1); }
Gary Blackburn
Trained Killer
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Clean URLs and CGI.pm
by swiftone (Curate) on Jun 11, 2001 at 22:21 UTC | |
by thpfft (Chaplain) on Jun 12, 2001 at 00:25 UTC | |
by swiftone (Curate) on Jun 12, 2001 at 00:50 UTC |