fbpx
Wikipedia

ActivePerl

ActivePerl is a distribution of Perl from ActiveState (formerly part of Sophos) for Windows, macOS, Linux, Solaris, AIX and HP-UX.

ActivePerl
Developer(s)ActiveState
Stable release
5.28.1[1] / May 30, 2019; 4 years ago (2019-05-30)
Websitewww.activestate.com/products/perl/

A few main editions are available, including: Community (free, for development use only), and several paid tiers up to Enterprise that includes support for OEM licensing. It includes a version of the 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 (IIS).

PerlScript edit

PerlScript was initially solely an 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 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 Droplets in the now-obsolete MacPerl.

Most WSH objects are available via the implicitly created $WScript object.

See also edit

References edit

  1. ^ "ActivePerl 5.28 Documentation". docs.activestate.com.

External links edit

  • Official website
  • Introduction to PerlScript
  • PerlScript FAQ at ActiveState

activeperl, distribution, perl, from, activestate, formerly, part, sophos, windows, macos, linux, solaris, developer, activestatestable, release5, 2019, years, 2019, websitewww, activestate, products, perl, main, editions, available, including, community, free. ActivePerl is a distribution of Perl from ActiveState formerly part of Sophos for Windows macOS Linux Solaris AIX and HP UX ActivePerlDeveloper s ActiveStateStable release5 28 1 1 May 30 2019 4 years ago 2019 05 30 Websitewww wbr activestate wbr com wbr products wbr perl wbr A few main editions are available including Community free for development use only and several paid tiers up to Enterprise that includes support for OEM licensing It includes a version of the 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 IIS Contents 1 PerlScript 2 See also 3 References 4 External linksPerlScript editPerlScript was initially solely an 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 gt 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 lt Job ID DropFiles gt lt script language PerlScript gt use strict our WScript WScript gt Echo Displaying names of dropped files my arg WScript gt Arguments my countArgs arg gt Count for my i 0 i lt countArgs i WScript gt Echo arg gt Item i lt script gt lt Job gt wsf PerlScripts gain access to WSH drag and drop functionality similarly to Perl Droplets in the now obsolete MacPerl Most WSH objects are available via the implicitly created WScript object See also editActivePython ActiveTclReferences edit ActivePerl 5 28 Documentation docs activestate com External links editOfficial website Introduction to PerlScript PerlScript FAQ at ActiveState Retrieved from https en wikipedia org w index php title ActivePerl amp oldid 1172851693 PerlScript, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.