Look like something has gotten botched up in @INC or %INC. In your first error message, with Spec.pm, in first few lines of that module:
use strict; use vars qw(@ISA $VERSION); $VERSION = '3.2501'; $VERSION = eval $VERSION;
If use vars doesn't work right, then $VERSION won't have package scope and you will get the type of message that you are seeing. vars.pm in Perl/lib does some major mojo. If this doesn't work, you are screwed! Try running the following and compare with your reference system.
print "INC PATHs\n"; foreach (@INC) { print "$_\n"; } print "\n\n"; print "INC HASH\n"; foreach (keys %INC) { print "$_ => $INC{$_}\n"; }
My Win XP box gives:
INC PATHs C:/Perl/site/lib C:/Perl/lib . INC HASH warnings/register.pm => C:/Perl/lib/warnings/register.pm bytes.pm => C:/Perl/lib/bytes.pm XSLoader.pm => C:/Perl/lib/XSLoader.pm Carp.pm => C:/Perl/lib/Carp.pm C:/Perl/site/lib/sitecustomize.pl => C:/Perl/site/lib/sitecustomize.pl Exporter.pm => C:/Perl/lib/Exporter.pm strict.pm => C:/Perl/lib/strict.pm warnings.pm => C:/Perl/lib/warnings.pm overload.pm => C:/Perl/lib/overload.pm Data/Dumper.pm => C:/Perl/lib/Data/Dumper.pm

In reply to Re: Every Perl Script Is Failing Compilation by Marshall
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.