in reply to Re^5: Problem with wxperl/constructors.pm
in thread Problem with wxperl/constructors.pm

True, it is really hard and frustrating. I have actually copied the Alien-wxWidgets and Wx in the Strawberry bin folder to see the problem resolves. I have then started executing the scripts, an unexpected error is being thrown that to either close the program or debug it. The previous post is the one which I have posted the information, I got when I executed the script.

I have to learn from the mistakes that I have done in the past by installing two different instances. Either I have to uninstall both the Perl Installations and install a new Strawberry Perl on my system and have do the rest. For this, I have to identify and delete some left over files/directories(Initially, I wanted to get the perlbrew or VM to repair it, but seems that it might increase the complexity to a certain extent, I may screw up the whole thing). Or as you said I can use the existing StrawberryPerl, where I can use Wx, to run my programs. Hopefully, one of the solutions might clear all the confusions.

  • Comment on Re^6: Problem with wxperl/constructors.pm

Replies are listed 'Best First'.
Re^7: Problem with wxperl/constructors.pm
by bulk88 (Priest) on Sep 11, 2012 at 17:27 UTC
    Having many different Perls on one PC is fine and easy. First make sure Perl's @INC isn't being set in the registry, under "\\HKLM\Software\Perl". Then use batch files to switch PATHs to the correct Perl.

      I have had a check in the "\\HKLM\Software\Perl" and found the below line items. Do I need these to be removed from the "\\HKLM\Software\Perl"?

      Name Type Data

      (Default) REG_SZ C:\Perl64

      BinDir REG_SZ C:\Perl64\bin\perl.exe

        Yes. Delete the Perl key. All Win32 Perls questionable (IMHO) check their registry key for what normally are shell enviromental variables. Your Strawberry Perl is trying to load parts of ActivePerl into itself and vice versa. Do a "perl -V" at console and check what is for @INC at the bottom of the console message. The folders must be only refer to only 1 install/version of Perl.