Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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

by amulcahy (Acolyte)
on Oct 11, 2001 at 15:14 UTC ( #118191=note: print w/replies, xml ) Need Help??

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

I presume you mean this....
print $query->param( -name=>'TblMenu', -value=>$STable);
I tried that but it did not work?

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: passing an array to a checkbox_group
by khippy (Scribe) on Oct 11, 2001 at 16:03 UTC
    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

    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

    there are no silly questions


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://118191]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2018-06-21 07:02 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.