Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Passing multiple parameters to a CGI script?

by Spidy (Chaplain)
on Sep 14, 2005 at 21:35 UTC ( [id://492035]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Passing multiple parameters to a CGI script?
in thread Passing multiple parameters to a CGI script?

I'm using the standard functions of CGI (use CGI qw(:standard);), and attempting to use
$queryvariable = new CGI; $variable=$queryvariable->param('param');
to get the parameters. How would I link to the cgi file, and be able to use multiple parameters?

Replies are listed 'Best First'.
Re^4: Passing multiple parameters to a CGI script?
by chas (Priest) on Sep 15, 2005 at 02:47 UTC
    Usually when you import the standard functions, it is because you are using the function oriented, not the object oriented style. With the latter, you don't need to import :standard. I'm unclear about what you mean by "use multiple parameters". You can get the values of any parameter names using param('name'), and you can get all the names returned as a list if you wish by using param().
    chas

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-18 01:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found