Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Unwanted CGI

by kilinrax (Deacon)
on Oct 06, 2000 at 16:59 UTC ( [id://35567]=note: print w/replies, xml ) Need Help??


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');

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://35567]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-24 05:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found