Hello everyone,

I have inherited a project (for a prof.) that is giving me much grief. Mostly because I am new at Perl.

What happens is as follows:
SessionTable.pm has the snipped bellow.
package SessionTable; use BasicTable; use Digest::MD5; use strict qw(@ISA); @ISA = qw(BasicTable);

But I get the following error message on the browser screen:
Error message:
Premature end of script headers: ate.pl
Error 5000

ate.pl is the main script that we use, and it calls for the package mentioned above.

The message on apache's error_log is:
[Wed Sep 10 13:58:58 2003] [error] [client ip_number] Unknown 'strict' tag(s) '@ISA' at /survey/cgi-bin/SessionTable.pm line 6, referer: http://myhost/cgi-bin/ate.pl

Keep in mind that everything works fine on the box running apache1 (RH7.3). This new box is running RH9.0 with RH's distributed apache.
Am I missing anything?

Please let me know, any help is appreciated.
-helio

janitored by ybiC: Balanced <code> tags around code snippet, as per Monastery convention, replaced literal [ and ] with &#091 and &#093 to avoid conversion to PM-style links

20030911 Edit by jeffa: Changed title from 'works on apache 1, but not 2... '


In reply to apache2 conflicts with strict declaration by helick

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.