in reply to Compatiblity with older perls

the old way is
push @INC, '/home/cgi/programs/libraries';
possibly in a BEGIN block...

                - Ant
                - Some of my best work - (1 2 3)

Replies are listed 'Best First'.
Re: Re: Compatiblity with older perls
by Anonymous Monk on Apr 06, 2004 at 19:39 UTC
    I put the push statement in and commented out the use lib one, sadly I still get the exact same error.......
      it says it is failing compilation on line 4... what is one line 4? Can you show us at least part of the code. A useful thing for CGI is
      use CGI::Carp qw(fatalsToBrowser);
      reports fatal errors in html... handy for devel work.

                      - Ant
                      - Some of my best work - (1 2 3)

        Wow!!!! That did it.... well technically showed me where the problem was.