Welcome to the Monastery | |
PerlMonks |
CGI::param called in list context from packageby perlron (Pilgrim) |
on Oct 26, 2014 at 19:30 UTC ( [id://1105051]=perlquestion: print w/replies, xml ) | Need Help?? |
perlron has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I noticed an error in the logs while testing my CGI::Application.
- update is that i have seen that setting the variable $CGI::Application::LIST_CONTEXT_WARN to 0 provides a way to prevent this noise in the server logs. While the query parameters are getting saved successfully and the functonality seems to work fine, i need a tip on how to resolve this error/warning. Even if u can tell me what is the vulnerability of this statement would be good enough for now..even though I read the CGI docs . Is this suggesting a posisble data inconsistency ??! The line code in question that i see is causing this issue is commented below. I tried testing replacing it with the statement with the two options below, but the script dies without any output to the browser (blank page)and surprisingly even the debug statement is not appearing in the log file. $session->save_param($query->param('s_addr')) or die $!;; and even but it still dies without an error message. Thanks in advance for any tips.
Do not wait to strike when the iron is hot! Make it hot by striking - WB Yeats
Back to
Seekers of Perl Wisdom
|
|