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