Re: Windows Script Host support
[email protected] (Olivier Mengué) Fri, 12 Jun 2020 16:24:19 +0200
| Newsgroups | perl.win32.vanilla |
|---|---|
| Message-ID | <CAEWvDFL+hOW0RRDCNAXEB_NFbzo+vadoem=6qZyJrcSCD6rOUA@mail.gmail.com> |
--000000000000eca1b105a7e3d590 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Luigi, I remember that 20 years ago ActivePerl (from ActiveState) had this. https://www.activestate.com/products/perl/ I don't think that StrawberryPerl ever had it. But nowadays WSH is just legacy. It still works, but Microsoft has stopped making it evolve, favoring PowerShell. I have quite played with WSH in the past (but using, JavaScript) and often suffered from its limitations. Do you have a motivation for wanting to use Perl from CScript.exe instead of perl.exe? Olivier. Le ven. 12 juin 2020 =C3=A0 10:21, Luigi Iotti <[email protected]> a =C3=A9cr= it : > Hi all, > > somebody know if Strawberry Perl supports Windows Script Host (WSH), aka > ActiveX scripting host (maybe there is a difference between the two > terms)? > I mean, if you may run for example cscript //E:PerlScript myscript.pl, > maybe > changing PerlScript with some other string. > This would permit to use Perl as a scripting engine in applications which > make use of WSH scripting engines. > > Thanks, regards > Luigi > --000000000000eca1b105a7e3d590 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi Luigi,<div><br></div><div>I remember that 20 years ago = ActivePerl (from ActiveState) had this.=C2=A0<a href=3D"https://www.actives= tate.com/products/perl/">https://www.activestate.com/products/perl/</a></di= v><div>I don't think that StrawberryPerl ever had it.</div><div><br></d= iv><div>But nowadays WSH is just legacy. It still works, but Microsoft has = stopped making it evolve,=C2=A0favoring PowerShell.</div><div><br></div><di= v><div>I have quite played with WSH in the past (but using, JavaScript) and= often suffered from its limitations.</div><div>Do you have a motivation fo= r wanting to use Perl from CScript.exe instead of perl.exe?</div><div></div= ></div><div><br></div><div>Olivier.</div></div><br><div class=3D"gmail_quot= e"><div dir=3D"ltr" class=3D"gmail_attr">Le=C2=A0ven. 12 juin 2020 =C3=A0= =C2=A010:21, Luigi Iotti <<a href=3D"mailto:[email protected]">luigi@iotti= .biz</a>> a =C3=A9crit=C2=A0:<br></div><blockquote class=3D"gmail_quote"= style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p= adding-left:1ex">Hi all,<br> <br> somebody know if Strawberry Perl supports Windows Script Host (WSH), aka<br= > ActiveX scripting host (maybe there is a difference between the two terms)?= <br> I mean, if you may run for example cscript //E:PerlScript <a href=3D"http:/= /myscript.pl" rel=3D"noreferrer" target=3D"_blank">myscript.pl</a>, maybe<b= r> changing PerlScript with some other string.<br> This would permit to use Perl as a scripting engine in applications which<b= r> make use of WSH scripting engines.<br> <br> Thanks, regards<br> Luigi<br> </blockquote></div> --000000000000eca1b105a7e3d590--