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

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!

Replies are listed 'Best First'.
Re^6: how to install URI::Escape::JavaScript on ActiveState
by amitsq (Beadle) on Jul 11, 2017 at 11:58 UTC
    i have perl 32 installed in directory perl32 and perl 64 bit version in directory perl64. Now i am in directory perl32:
    perl -v This is perl 5, version 16, subversion 3(v5.16.30) built for MSWin32-x +64-multi-thread ..

    the commands "where perl" and "set PATH .." cause errors

    1) where perl:

     Where-Object : Cannot bind parameter 'FilterScript'. Cannot convert the "SizeMB" value of type "System.String" to type System.Management.Automation.ScriptBlock"."

    2) set path :

    CommandNotFoundException %PATH% got not recognized as Name of Cmdlet, Function, Script file or +Program
      %PATH% got not recognized as Name of Cmdlet, Function, Script file or program

      The usual thing is to run perl in a cmd.exe shell, not in Windows powershell - and the command I provided is for the cmd.exe shell.
      But if you're running in powershell, then you would instead re-set the PATH with:
      $env:path="C:\location\of_your\perl32\bin;$env:path"
      Cheers,
      Rob
      Where-Object : Cannot bind parameter 'FilterScript'. Cannot convert th +e "SizeMB" value of type "System.String" to type System.Management.Au +tomation.ScriptBlock"."

      Are you confusing the command prompt with powershell?