Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

"Action" variables and form data

by mothra (Hermit)
on Apr 08, 2001 at 21:17 UTC ( #70856=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $q = new CGI;
    my $action = $q->param("action") || "enter";
    
    ...
    my @allnames = $q->param;
    print "All vars => @allnames<BR>";
    print "Action is $action";
    
  2. or download this
    All vars => newitem qty
    Action is enter
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://70856]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2019-11-11 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (63 votes). Check out past polls.

    Notices?