Hi all,
 
I was resorting to this verbatim html print 
to do the task:
 
print qq(<FORM METHOD="POST" ACTION="myscript.cgi">\n);
print qq(<INPUT type="hidden" NAME="analysis" VALUE="Light">\n);
print qq(<INPUT type="hidden" NAME="organism" VALUE=$orgname>\n);
print qq(<INPUT type="hidden" NAME="sequence" VALUE="$fname" >\n);
print qq(<INPUT type="submit" value="Run MySCRIPT">\n);
print qq(</FORM>\n);
I tried this with CGI.pm dialect, but doesn't seem to work:
 print start_multipart_form(), 
 print start_form(-method=>"POST",
                 -action=>"myscript.cgi",
             );
 hidden( -name=>"analysis", -value=>"Light");
 hidden( -name=>"organism", -value=>"S.cerevisiae");
 hidden( -name=>"sequence", -value=>$fasta);
 submit( -name=>'action', -value => 'Run MySCRIPT'), 
 print endform;
 
Can anybody suggest how can it be done with CGI.pm?
The complete code can be found here: http://dpaste.com/9026/plain/
 
--
Regards,
Edward WIJAYA

------------ Institute For Infocomm Research - Disclaimer -------------
This email is confidential and may be privileged.  If you are not the intended 
recipient, please delete it and notify us immediately. Please do not copy or 
use it for any purpose, or disclose its contents to any other person. Thank you.
--------------------------------------------------------

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to