in reply to Re^4: CGI.pm ignore URL GET query string parameters
in thread CGI.pm ignore URL GET query string parameters
No I was wondering about something like use CGI qw( -ignore_get_params ). If that existed it would be a simple way to ignore GET params without having to check $cgi->request_method().
Then no, not as far as I know.
Why do you want to avoid $cgi->delete_all() if $cgi->request_method() eq 'GET'; ? I cannot see how that's any harder or more confusing than the non-existent use CGI qw( -ignore_get_params ) that you suggested.
|
|---|