in reply to Re: how to install URI::Escape::JavaScript on ActiveState
in thread how to install URI::Escape::JavaScript on ActiveState

thank you, it installed it for perl64bit, could i also get it for Perl32bit?
  • Comment on Re^2: how to install URI::Escape::JavaScript on ActiveState

Replies are listed 'Best First'.
Re^3: how to install URI::Escape::JavaScript on ActiveState
by marto (Cardinal) on Jul 11, 2017 at 09:53 UTC

    If you have multiple versions of perl installed, repeat the procedure using the cpan command installed with each perl.

      actually I already runned the command in the directory for perl32, yet it installed it in directory for perl64, reapeating same command didn't change that, or how could i adjust the command to get it to perl32 ?
        actually I already runned the command in the directory for perl32, yet it installed it in directory for perl64

        Make sure that the location of perl32 bin directory is ahead of location of perl64 bin directory in your PATH. At the command line:
        set PATH=C:\location\of_your\perl32\bin;%PATH%
        Then try running the same cpan command again.

        Cheers,
        Rob

        Your path likely has this 64bit path with higher precidence, see the windows where command. Consider running the full path to the 32bit version of cpan or consider finding a better solution for managing multiple perls/architectures for your environment.

        Update: for reference berrybrew.

        Hello amitsq,

        You mean that you have Perl32 bit and Perl64bit on the same directory installed? What does get printed when you run perl -v and which perl?

        Update: If you are running WindowsOS run where perl instead of which.

        Sample of my local box:

        $ perl -v This is perl 5, version 24, subversion 1 (v5.24.1) built for x86_64-li +nux (with 1 registered patch, see perl -V for more detail) Copyright 1987-2017, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. $ which perl /home/user/perl5/perlbrew/perls/perl-5.24.1/bin/perl

        Hope this helps, BR.

        Seeking for Perl wisdom...on the process of learning...not there...yet!