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 helpsIn reply to Re: Reading multiple values from a selection with CGI.pm
by cfreak
in thread Reading multiple values from a selection with CGI.pm
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |