HOME
The Info List - ActivePerl


--- Advertisement ---



Active Perl
Perl
is a distribution of Perl
Perl
from ActiveState (formerly part of Sophos) for Windows, macOS, Linux, Solaris, AIX and HP-UX. A few main editions are available, including: standard (free), enterprise and OEM. It includes a version of the Perl
Perl
package manager (PPM) for installing packages from CPAN, etc. The Windows version includes an Active Scripting component for Windows Script Host (WSH) called PerlScript and an ISAPI module for embedding within Internet Information Services
Internet Information Services
(IIS).

Contents

1 PerlScript 2 See also 3 References 4 External links

PerlScript[edit] PerlScript was initially solely an ActiveX
ActiveX
Scripting Engine produced by the company ActiveState for use with Microsoft's Internet Information Services (IIS) that allows for programmers to use Perl-based code in addition to, or in place of, VBScript or JScript in the context of web servers running the ASP protocol. Subsequently Apache::ASP was created for the Apache web server, which allows for coding with only Perl, but neither VBScript nor JScript. PerlScript can also be used to write Windows Script Host-based programs, similar to VBScript. 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; our $WScript; $WScript->Echo("Hello, world!");

.pls files do not gain access to drag and drop WSH functionality. PerlScripts which have the extension wsf require XML
XML
tags which specify the job id and script language, e.g.

<Job ID="DropFiles"> <script language="PerlScript"> use strict; our $WScript; $WScript->Echo("Displaying names of dropped files"); my $arg = $WScript-> Arguments ; my $countArgs = $arg-> Count ; for (my $i=0; $i<$countArgs; $i++)

$WScript->Echo($arg->Item($i));

</script> </Job>

wsf PerlScripts gain access to WSH drag and drop functionality, similarly to Perl
Perl
Droplets in the now-obsolete MacPerl. Most WSH objects are available via the implicitly created $WScript object. See also[edit]

ActiveState ActivePython ActiveTcl ASP Perl JScript VBScript

References[edit]

^ http://docs.activestate.com/activeperl/5.24/

External links[edit]

Official Product Page Introduction to PerlScript PerlScript FAQ at ActiveState The Perl
Perl
Programming Language Apache::ASP Module

v t e

Perl

People

Larry Wall Randal L. Schwartz Damian Conway Allison Randal Audrey Tang Sean M. Burke chromatic Adam Kennedy brian d foy Jesse Vincent

Things

CPAN Perl
Perl
Foundation

Perl
Perl
Mongers PerlMonks archives

module Perl
Perl
VM Parrot YAPC

Frameworks

Bioperl Catalyst Dancer DBI DBIx::Class LWP Mason Maypole Mojolicious Moose Plack PSGI Template
Template
Toolkit

Software

Amavis Argus @SSP AWStats BackupPC Bricolage Bugzilla Dada Mail ikiwiki Makepp Movable Type Munin OTRS SpamAssassin TWiki/Foswiki W3Perl Webmin

Outl

.