- PerlScript
PerlScript was initially solely an
ActiveX Scripting Engine produced by the companyActiveState for use with Microsoft'sInternet Information Services (IIS) that allows for programmers to use Perl-based code in addition to, or in place of,VBScript orJScript in the context of web servers running the ASP protocol. Subsequently an ASP module was created for the Apache web server, which allows for coding with only PerlScript, but neither VBScript nor JScript. PerlScript can also be used to writeWindows Scripting Host -based programs, similar toVBScript .Standalone PerlScripts can be executed if they are created with the file extension .pls, in which case they do not require enclosing
XML , e.g.use strict; $WScript->Echo("Hello World!");
pls files do not gain access to drag and drop WSH functionality.
PerlScripts which have the extension wsf require
XML tags which specify the job id and script language, e.g.wsf PerlScripts gain access to
WSH drag and drop functionality, similarly to Perl Droplets in the now-obsoleteMacPerl .Most
WSH objects are available via the implicitly created $WScript object.ee also
*ASP
*Perl
*JScript
*VBScript External links
* [http://www.cpan.org/authors/id/M/MS/MSERGEANT/PSIntro.html Introduction to PerlScript]
* [http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/Components/Windows/PerlScript.html PerlScript FAQ] at ActiveState
* [http://www.apache-asp.org/perlscript.html Apache::ASP Module]
Wikimedia Foundation. 2010.