Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Re: Re: Re: passing an array to a checkbox_group

by khippy (Scribe)
on Oct 11, 2001 at 16:03 UTC ( #118197=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Re: passing an array to a checkbox_group
in thread passing an array to a checkbox_group

Ok, I (now really having read the code) presume, that you
simply want to set the CGI-variable, don't you?
In this case, perldoc CGI tells:

the param() routine is used to set a CGI parameter
[..]
$q->param(-name=>'veggie',-value=>'tomato');


where $q is determined by the previously stated
$q = new CGI; # create new CGI object

So, your statement seems perfectly right. The only clue
is, that you "call it from another Perl script". In this
case you have to export/import variables, haven't you?
If so, wait for another PerlMonk to answer this, because
I am not experienced with exchanging variables between
perlscipts.
--

there are no silly questions

killerhippy


Comment on Re: Re: Re: Re: Re: passing an array to a checkbox_group

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (19)
As of 2014-08-29 12:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls