| [reply] |
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.
| [reply] |
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.
| [reply] |
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.
| [reply] [d/l] [select] |
$Win32::VERSION--version check failed at line 435 finds lots of hits. Most of them indicate that there is a missing use Win32; line:
Barring further information from you, I guess that the main problem is that you upgraded your version of Perl but whatever IDE you might be running still uses an old/incompatible version of perl5db.pl to run your Perl programs. Maybe adding use Win32; to perl5db.pl might fix that.
| [reply] [d/l] [select] |
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
| [reply] |
"...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»
| [reply] |