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

This node falls below the community's minimum standard of quality and will not be displayed.
  • Comment on Compile Problem from version perl5.8.2 to perl5.16.3

Replies are listed 'Best First'.
Re: Compile Problem from version perl5.8.2 to perl5.16.3
by marto (Cardinal) on Oct 30, 2014 at 11:51 UTC
Re: Compile Problem from version perl5.8.2 to perl5.16.3
by Corion (Patriarch) on Oct 30, 2014 at 11:51 UTC

    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.

      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.
Re: Compile Problem from version perl5.8.2 to perl5.16.3
by perlron (Pilgrim) on Oct 30, 2014 at 14:27 UTC

    Hello Narendra6296,
    The monks are happy to assist all users Before you repost again, i strongly recommend you go through the rules of posting mentioned by marto above for at least ten to 15 minutes It is very difficult for the experts to answer queries if we do not give them proper data, steps and environment details too.
    Thanks for understanding . looking forward to hear your question . with some a)code OR b) steps to reproduce the problem
Re: Compile Problem from version perl5.8.2 to perl5.16.3
by karlgoethebier (Abbot) on Nov 25, 2014 at 09:20 UTC
    "...a problem while compiling my perl code...while that code is running good...make my code in such way that it will run..."

    "No hands, no cookies! (unknown Perl mum)

    Update: Explanation: Just another friendly way to say "But where is your code that doesn't compile?".

    Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»