Re: undefined value error

2004-10-02 Thread Xiangli Zhang
Here is my updated code with errorHTTP 500 that did not happened for the old code, and the modules I am using. thank you justinz test.cgi: #!/usr/bin/perl #use lib '/srv/www/cgi-bin/phrap/perl-lib'; use CGI; use CGI::Carp qw(fatalsToBrowser); use warnings; use diagnostics; use Fil

Re: undefined value error

2004-10-02 Thread Charles K. Clarkson
Xiangli Zhang <[EMAIL PROTECTED]> wrote: : It does not work, instead HTTP 500 - Internal server : error happened.Page "test.cgi" cannot even display. Show us the updated code you are using. We'll also need to see the modules you are using. They don't seem to be from CPAN. Either provide thei

Fwd: Re: undefined value error

2004-10-02 Thread Xiangli Zhang
David:   It doesnot work, instead HTTP 500 - Internal server error  happened.Page "test.cgi" cannot even display.   Anyway, thank you for your suggestion.Note: forwarded message attached.Xiangli Zhang (Justin)306-310 Decaire Street, CoquitlamBC, Canada, V3K 6X1phone: 604-9399181 Do you Yahoo!?vot

Re: undefined value error

2004-10-02 Thread Bill Jones
--- David Kirol <[EMAIL PROTECTED]> wrote: > Xiangli Zhang wrote: > > I got the following error when one cgi file 'test.cgi' was called > from HTML: > > > > Can't call method "sequence" on an undefined value > > use DNAseq; > > print "Content-type: text/html\n\n"; > Justin, > I think y

Re: undefined value error

2004-10-02 Thread David Kirol
Xiangli Zhang wrote: I got the following error when one cgi file 'test.cgi' was called from HTML: Can't call method "sequence" on an undefined value However I can run 'test.cgi' with command 'perl test.cgi' correctly. Can anybody help me figure out the problem? The following is my code: er