--- 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 you are making a basic 'cgi' error. The error may stem from
> the
> fact that the 'State' of the html page cannot change once it is
> printed.
> Try moving all of the statements that might change the state of the
> script (i.e.
> chdir("/srv/www/httmp/default/chromat_dir");
<snip> ...
> and so on)
> ahead of the html header
> print "Content-type: text/html\n\n";
If that works I would be surprized. The original error states that a
subroutine in package DNAseq is at fault -- I thought this was asked
and answered already anyways?
-Sx-
=====
-Sx-
seeking employment: http://youve-reached-the.endoftheinternet.org/
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>