good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
RE: Get those parameters without CGI.pmby davorg (Chancellor) |
on Jun 21, 2000 at 13:39 UTC ( [id://19192]=note: print w/replies, xml ) | Need Help?? |
Have you considered what your code will do when faced with a query string like:
which is a perfectly valid query string. Your %params hash will end up looking like:
The first value of key2 will have been lost. CGI.pm's parameter routines handle this correctly. If you have a key which has mulitple values, then the param function will return a list of values. -- <http://www.dave.org.uk> European Perl Conference - Sept 22/24 2000 <http://www.yapc.org/Europe/>
In Section
Code Catacombs
|
|