Loading ...
Sorry, an error occurred while loading the content.

RE: [PBML] Perl Modules - errors...

Expand Messages
  • Charles K. Clarkson
    ... Here are the errors I got from the command line. If you re just getting the last 2 lines, then your you re using a different bannerside1.pm than one you
    Message 1 of 5 , Sep 1, 2002
    • 0 Attachment
      Gordon Stewart [mailto:gordon@...] wrote:
      :
      : At 13:00 31/08/02 -0500, you wrote:
      :
      : > I couldn't reproduce this error without others.
      : >According to perldiag this is a generic warning
      : >perl raises when more specific warnings like not
      : >in @INC and not returning true pass. Can you supply
      : >the code for the bannerside1 module. Perhaps
      : >something in it is hiccupping.

      Here are the errors I got from the command line.
      If you're just getting the last 2 lines, then your
      you're using a different bannerside1.pm than one you
      showed. Do you have access to the command line?
      Taking care of these things might help. You should
      also drop '1;' to the bottom of the file, below
      the getlist sub (though it doesn't seem to matter).

      Global symbol "$site" requires explicit package name at bannerside1.pm
      line 21.
      Global symbol "$site" requires explicit package name at bannerside1.pm
      line 22.
      Global symbol "%t" requires explicit package name at bannerside1.pm line
      24.
      Global symbol "%t" requires explicit package name at bannerside1.pm line
      25.
      Global symbol "$bannerlist" requires explicit package name at
      bannerside1.pm line 26.
      Global symbol "%t" requires explicit package name at bannerside1.pm line
      26.
      Global symbol "$site" requires explicit package name at bannerside1.pm
      line 26.
      Global symbol "%t" requires explicit package name at bannerside1.pm line
      28.
      Global symbol "%t" requires explicit package name at bannerside1.pm line
      29.
      Global symbol "%t" requires explicit package name at bannerside1.pm line
      30.
      Global symbol "$site" requires explicit package name at bannerside1.pm
      line 30.
      Compilation failed in require at aa.pl line 9.
      BEGIN failed--compilation aborted at aa.pl line 9.


      : In the forum of the ISP/HOST, someone mentioned to
      :
      : BEGIN { push @INC, ".\""; } - As apparently the server isnt
      : accessing the PM file in the same directory..

      Er, I think that's './' not ".\"". Use lib. It
      does some error checking:

      use lib './';


      : & ive got the EXACT same pm file oin the /cgi-bin/ directory
      : - So why isnt it accessing that ?

      It seems to me that it is accessing it. To be certain,
      rename bannerside1.pm and see if you get the same error.
      Then check file and directory permissions.


      HTH,

      Charles K. Clarkson
      --
      Head Bottle Washer,
      Clarkson Energy Homes, Inc.
      Small commercial and residential rehabilitation specialists.
      254 968-8328

      CJ Web Work - Solutions for Real Estate Investors.
      972 216-4952

      CJ Web Hosting - Lookout; We have one whole paying customer!
      254 968-8328
    Your message has been successfully submitted and would be delivered to recipients shortly.