CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
CScript Error: Can't find script engine "PerlScript" for script

 



christopheva
New User

Oct 4, 2010, 11:56 AM

Post #1 of 1 (758 views)
CScript Error: Can't find script engine "PerlScript" for script Can't Post

Hi,
I've been experimentating with wscript/cscript and vbscript/perlscript.
(I hope I'm posting this in the correct forum ;) ).

So, I'm trying to run a perl- and vbscript with CSCript in command console (windows).
The vbscript (hello.vbs):

Code
WScript.echo "Hello World"

The perlscript (hello.pls):

Code
$WScript->echo ("Hello World");


I run both script in command console:
vbscript:

Code
cscript hello.vbs

perlscript:

Code
cscript hello.pls  
OR
cscript hello //E:perlscript


The vbscript runs fine but the output of the perlscript is

Quote
CScript Error: Can't find script engine "perlscript" for script "hello.pls".


I've tried "c:\perl\bin> regsvr32 PerlSE.dll" with no success.

Help would be gladly appreciated!!

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives