Jump to navigation Jump to search

5.0-Nano: Perl

13 bytes added, 18:28, 7 June 2011
Punctuation and grammatical changes; some clarification.
Perl is a very powerful scripting language. To do it justice, two plugins are provided: full and mini Perl.
Full-Perl as the name implies consists of the core program and all modules, while mini-Perl consists of the core program and a selection of commonly used Perl modules.
== ActivePerl ==
Uniform Server's Perl plugins use [ ActivePerl] from [ ActiveState]. The current version currently in use is ActivePerl It’s an industry-standard Perl distribution. ActivePerl is multi platform and runs on Windows, Linux, Mac OS X, Solaris, AIX and HP-UX.
ActivePerl is multi-platform and runs on Windows, Linux, Mac OS X, Solaris, AIX and HP-UX.
Apart from being robust and reliable, one of its main features is portability.
I hope non-Perl users will appreciate what a the significant overhead this represents, even with mini-Perl installed, hence which was the reason for making Perl a plugin.
If space is at a premium, Perl users can start with mini-Perl and add modules as required from full-Perl.
Perl scripts contain a Shebang (first line) which informs a server where to find the Perl program. Uniform Server is dynamic and tracks any path changes automatically updating the Shebang.
However if the server remains static and you have added new scripts in the cgi-bin folder , the Shebang is never updated. Hence Therefore run the following menu item after installing new scripts. It updates the Shebang in all files to the current Perl location.
==== Convert to Unix format ====
Perl scripts developed on Windows will not run on a Unix machine. They require conversion to Unix format.
Run the conversion script from UniTray as follows:

Navigation menu