Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Strawberry Perl - Active Scriping Support for WSH

by Tekky (Initiate)
on Feb 22, 2013 at 01:55 UTC ( #1020047=perlquestion: print w/replies, xml ) Need Help??
Tekky has asked for the wisdom of the Perl Monks concerning the following question:

Hello All,

Is there an Active Scripting Engine available for Strawberry Perl?

Over the past few days I've been searched for a way to use Strawberry Perl with WSH (Windows Script Host), but have not found a way. If I try to run a script using WSH (i.e.: "wscript"), I keep getting a Windows Script Host error indicating "There is no script engine for file extension ".pl"."

It's not as simple as associating the .pl file extension to perl.exe.

Basically what I need is the equivalent of ActivePerl's PerlScript (perlse.dll):

PerlScript - ActivePerl Documentation

Thank you in advance for any information anybody can provide.

Best Regards,
  • Comment on Strawberry Perl - Active Scriping Support for WSH

Replies are listed 'Best First'.
Re: Strawberry Perl - Active Scriping Support for WSH
by Anonymous Monk on Feb 22, 2013 at 02:06 UTC
      I was afraid that would be the answer.
      Guess its back to ActivePerl.

      Thank you for the prompt reply.

Re: Strawberry Perl - Active Scriping Support for WSH
by Mr. Muskrat (Canon) on Feb 22, 2013 at 19:45 UTC

    What exactly are you trying to accomplish? I can't help but wonder if you really need WSH support or if you just think that you do.

      WSH support means you can generally use a script written in something other than VBScript to drive an application that provides VBA as a "macro" engine. Anything that avoids using VBScript must be good!

      True laziness is hard work

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1020047]
Approved by ww
Front-paged by ww
[ksbehal]: I need to test a .pl file for unit testing and integration testing. I tried to use the Test::More but when I am doing require_ok, it is executing the given script which i do not want.. any way out??
[Discipulus]: such tests are intended for modules, as far as i know

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2017-01-24 12:45 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (204 votes). Check out past polls.