in reply to Adding CGI params to XML-file

Probably, all you need is a nice map to get things rolling.

$exec = { 'tc' => [ map {{ id=>$_ }} $cgi->param('checkbox') ] };

-Paul

Replies are listed 'Best First'.
Re^2: Adding CGI params to XML-file
by Anonymous Monk on Jul 24, 2007 at 11:45 UTC
    Got it to work by using:
    $exec = { 'tc' => [ map {{ id=>$_ }} @tc ] };

    Have to read up on map
    Thanks a lot