in reply to Get those parameters without CGI.pm

Have you considered what your code will do when faced with a query string like:

key1=val1&key2=val2a&key2=val2b

which is a perfectly valid query string. Your %params hash will end up looking like:

%param = (key1 => 'val1', key2 => 'val2b');

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/