in reply to Unwanted CGI "Submit" Parameter

You could quite easily get a list of all the parameters except 'submit' thusly:
#!/usr/bin/perl -w use strict; use CGI; my $query = new CGI; my @params = grep {$_ ne 'submit'} $query->param;

Replies are listed 'Best First'.
RE: Re: Unwanted CGI
by princepawn (Parson) on Oct 06, 2000 at 17:55 UTC
    Why not use the CGI API?
    #!/usr/bin/perl -w use strict; use CGI; my $query = new CGI; my $query->delete('submit');