Albert059 has asked for the wisdom of the Perl Monks concerning the following question:

I'm using Open Perl IDE Version 1.0 to write code. When I compile,
Win32 does not define $Win32::VERSION--version check failed at ../perl5db.pl line 435.
BEGIN failed--compilation aborted.
Compilation failed in require at C:/Perl/lib/Win32.pm line 8.
BEGIN failed--compilation aborted at C:/Perl/lib/Win32.pm line 82.
Compilation failed in require at ../perl5db.pl line 435.
BEGIN failed--compilation aborted.
Compilation failed in require.
BEGIN failed--compilation aborted.
ends up on my error output.
I feel doomed to be always a beginner on such issues. A little help? Thanks in advance.

Replies are listed 'Best First'.
Re: Compile errors
by Bloodnok (Vicar) on Sep 24, 2009 at 23:18 UTC
    Check the installed version of Win32 - 0.39 does define $VERSION - at line 11.

    A user level that continues to overstate my experience :-))
      Line 11 says "$VERSION = '0.39';".
        Do you get '0.39' as a response if you type perl -MWin32 -e 'die $Win32::VERSION' ?

        Any chance of having a look at (an appropriate snippet of) the require'ing code ?

        A user level that continues to overstate my experience :-))