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.
In reply to Re^5: CGI.pm ignore URL GET query string parameters
by pryrt
in thread CGI.pm ignore URL GET query string parameters
by Danny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |