in reply to Reading multiple values from a selection with CGI.pm
The CGI module automagically puts them into an array for you. You don't have to split it.
Just take out the split line
my @gene1 = $query->param('GS1'); print $gene1[0];
Also just out of curiosity why are you using STDOUT in your print statement (STDOUT is default)
Hope that helps
|
|---|