in reply to "CGI::param called in list context" confusion
warnings will show you a line number, if you are only expecting a scalar to be returned use scalar like Corion showed.
But if you really expect multi values from http for the same element you should look into CGI for recommended workaround.¹
HTH! :)
¹) you can disable this warning by setting $CGI::LIST_CONTEXT_WARN to 0 or by using the multi_param() method instead
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: "CGI::param called in list context" confusion
by afoken (Chancellor) on Mar 19, 2015 at 17:29 UTC |