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

I am not getting any idea what else I have to do.

Give up?

Its very hard to help if you keep switching between perls, between approaches, between errors, repeating steps ... going in circles is frustrating

Why can't you use strawberryperl, where you already installed Wx , to run your programs? Is it gone? Both citrusperl and DWIM Perl come with Wx in the box.

For ActivePerl, why can't you use  ppm install Wx ?

You can see that it is available from http://code.activestate.com/ppm/Alien-wxWidgets/, http://code.activestate.com/ppm/Wx/

Replies are listed 'Best First'.
Re^6: Problem with wxperl/constructors.pm
by bedohave9 (Acolyte) on Sep 11, 2012 at 17:16 UTC

    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.

      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