in reply to Re: Using the modules I want to use.
in thread Using the modules I want to use.

Thanks for your help,

[Sat Nov  2 01:34:17 2002] [error] [client 12.234.205.16] Premature end of script headers: /u/web/dom/cgi-local/whichversion.cgi

What happens to the modules that you want to include from the server library?

Cal

Replies are listed 'Best First'.
Re^3: Using the modules I want to use.
by Aristotle (Chancellor) on Nov 02, 2002 at 06:42 UTC

    Hmm. Add use CGI::Carp; and check the error log again. There should be a more detailed error message then.

    Also, run with perl -c whichversion.cgi on the shell if you can.

    Makeshifts last the longest.

      Well I dont have telnet but I use a Perl debugger which says the syntax is ok.However these three lines come up .Which are the top three lines.

      #!/usr/local/bin/perl -w use CGI::Carp; use lib '/u/web/dom/cgi-local/';


      (eval 1): Subroutine confess redefined at (eval 1) line 1.
      (eval 1): Subroutine confess redefined at (eval 1) line 2.
      (eval 1): Subroutine confess redefined at (eval 1) line 3.


      ran with carp and same error
        I'm afraid I can't offer any other ideas. This looks like something seriously fishy is going on.

        Makeshifts last the longest.

Re: Re: Re: Using the modules I want to use.
by cal (Beadle) on Nov 02, 2002 at 06:44 UTC
    It appears that the use lib line in that loaction causes the "premature end of script" errors, Cal