in reply to Compile Problem from version perl5.8.2 to perl5.16.3

The solution is obviously to rewrite your code that it works on both versions.

You can help us help you better by telling us what "compile problem" you encounter. Please also show us the relevant code and the output of the compiler or Perl interpreter for both versions of Perl. Don't forget to explain what the code should do.

  • Comment on Re: Compile Problem from version perl5.8.2 to perl5.16.3

Replies are listed 'Best First'.
Re^2: Compile Problem from version perl5.8.2 to perl5.16.3
by narendra5296 (Initiate) on Oct 30, 2014 at 12:07 UTC
    Hi, Thanks for help me in a short time. I am getting an error like Win32 does not define $Win32::VERSION--version check failed at line 435. BEGIN failed--compilation aborted. Compilation failed in require at line 435. BEGIN failed--compilation aborted. Compilation failed in require. BEGIN failed--compilation aborted. And coming to the task of this code it has to convert my .txt files in to the .ascy files,like pattern it has to produce.

      So, what part of your code issues that problem?

      The big picture of your code is of no help. We need to know the lines of code that are producing the problem.

      From the rough interpretation of your error description, it seems that Win32 does not export a symbol $VERSION but your code tries to import it. Importing $VERSION from another module is a highly unusual practice, so most likely, there is something really wrong in your code.

      A reply falls below the community's threshold of quality. You may see it by logging in.