Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^6: how to install URI::Escape::JavaScript on ActiveState

by amitsq (Beadle)
on Jul 11, 2017 at 11:58 UTC ( [id://1194809]=note: print w/replies, xml ) Need Help??


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

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

Replies are listed 'Best First'.
Re^7: how to install URI::Escape::JavaScript on ActiveState
by syphilis (Archbishop) on Jul 11, 2017 at 13:11 UTC
    %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
Re^7: how to install URI::Escape::JavaScript on ActiveState
by marto (Cardinal) on Jul 11, 2017 at 12:48 UTC
    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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1194809]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-23 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found