in reply to accessing random count CGI parameters
Anyhow it is far better to rely on CGI.pm (or its brethren such as CGI:Simple) to do the parsing.
And in order to sequentially access the parameters just sort the key-values of the parameter-hash and use that sorted list to go through the values of the parameters.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: accessing random count CGI parameters
by shmem (Chancellor) on Jun 25, 2007 at 11:19 UTC |