in reply to Perl cgi - getting the values from select

You'll need to do something like:

my $q = CGI->new; my @selections = $q->param('copy1');

Regards,

PN5

Replies are listed 'Best First'.
Re^2: Perl cgi - getting the values from select
by kiat (Vicar) on Aug 07, 2004 at 04:51 UTC
    Thanks, Prior Nacre V :)

    I've that, it didn't work :) I'm still working on it...

      Here's a few things you can check:

      • The method attribute of the form element is set to 'post'
      • The action attribute of the form element is set to the correct URI
      • If you use the enctype attribute of the form element, it should be set to 'application/x-www-form-urlencoded'
      • Use the $q->param method without arguments to get a list of all parameter names returned to your CGI script

      Regards,

      PN5