[kw-pm] Quick Question

Robert Pike roberthpike at yahoo.com
Fri Mar 19 07:44:13 PDT 2010


I'm using the CGI module in one of my scripts but part way down the page I'm trying to add new name/value pairings to the CGI object I have.
For example :
our $query = new CGI();
...
...
...
$query->param(-name => "somestring", -value => "somevalue");
...
print join(" + ", $query->param);  # this line doesn't show the new entry I made

Is there something I need to do differently in order to add additional entries to the object? Later in the script I nee to loop through the query object and currently I can't because my new entries aren't being added. Any info would be appreciated. Thanks.


      __________________________________________________________________
Make your browsing faster, safer, and easier with the new Internet Explorer® 8. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/


More information about the kw-pm mailing list