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


In reply to Re^4: Every Perl Script Is Failing Compilation by Anonymous Monk
in thread Every Perl Script Is Failing Compilation by Anonymous Monk

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.