Menu

CGI Error

Help
Tash
2004-04-30
2004-04-30
  • Tash

    Tash - 2004-04-30

    I've seen so many of these errors on this forum. Anyone got a suggestion yet? I get this when i try to run perl index.pl on my IIS 5, Win 2000k Sp4
    How can the @INC path get fixed? anyone? thanks in advance.

    CGI Error
    The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

    Can't locate Template.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at Metadot/MetadotController.pm line 10.
    BEGIN failed--compilation aborted at Metadot/MetadotController.pm line 10.
    Compilation failed in require at Gizmo.pm line 37.
    BEGIN failed--compilation aborted at Gizmo.pm line 37.
    Compilation failed in require at Portal.pm line 36.
    BEGIN failed--compilation aborted at Portal.pm line 36.
    Compilation failed in require at C:\Inetpub\wwwroot\wiseportal\metadot\metadot\index.pl line 39.
    BEGIN failed--compilation aborted at C:\Inetpub\wwwroot\wiseportal\metadot\metadot\index.pl line 39.

     
    • Lee Weston

      Lee Weston - 2004-04-30

      Are you sure you have Template.pm is installed?

      If so, and indeed @INC is wrong, then perl got installed wrong.

      A bad way to do "fix this" is to set it in index.pl

      @INC is a perl array like any other.

       

Log in to post a comment.