Forum Discussion
hooleylist
Jul 03, 2009Cirrostratus
I'd think this looping with string commands would be more efficient than a regex. A foreach loop would probably be about the same. You could test these options using the timing command (Click here).
If you are trying to retrieve the value for a specific parameter, you don't have to loop through each parameter name. You can just use URI::query:
URI::query [HTTP::uri] "param_name"
Aaron