in reply to CGI::param called in list context from package
You may want to look at this Blog post from earlier this month. They suggest preceding the statement with "scalar". And here is the CGI documentation on the matter.
As for the save_param command, the documentation shows that the first parameter must be the $cgi object, followed by a list of the parameters you want to save.
Update: So it turns out that I reference the v3.95 documentation above, here is v4.48 which suggests that the API for save_param has changed. Is it possible you are indeed running with an older version?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI::param called in list context from package
by perlron (Pilgrim) on Oct 26, 2014 at 21:13 UTC |