in reply to Re^3: Every Perl Script Is Failing Compilation
in thread Every Perl Script Is Failing Compilation

Hi there,

The print out from the original test script you gave me is the output when I run it. I installed perl 5.10, and this gives me the same output, just with the single version for perl for the @INC paths (I installed it in a different location).

The new installation has fixed all my problems for perl, as long as it is run from the new location (needing all the new modules etc). So when I run the simple code above, I get the same results as you. If I run it with the old version, I get the same error message as the second one from my original post, regardless of whether I have commented out the 'use vars qw(@ISA $VERSION)' line, so it is this line that is causing all the problems. I've had a look at all the file permissions from the @INC paths and they all seem ok. I've looked in all the paths that are thrown up in the error message, is there anywhere else I need to look, specifically for $VERSION? Carp.pm, File, File/Spec, and all the packages in these folders all have the correct permissions (-rw-r--r-- for .pm files, and drwxr-xr-x for folders, I'm assuming that these are all correct?)

Thanks for your help

  • Comment on Re^4: Every Perl Script Is Failing Compilation

Replies are listed 'Best First'.
Re^5: Every Perl Script Is Failing Compilation
by Marshall (Canon) on Sep 10, 2009 at 15:41 UTC
    Sounds like a directory/permission problem. Compare what works vs what doesn't work.

    The new installation has fixed all my problems for perl. That statement speaks volumes.