487
edits
(Punctuation and grammatical changes; some clarification and additional explanation.) |
(Punctuation and grammatical changes; some clarification.) |
||
Line 5: | Line 5: | ||
Perl is a very powerful scripting language. To do it justice, two plugins are provided: full and mini Perl. | 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. | 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 == | == ActivePerl == | ||
Uniform Server's Perl plugins use [http://www.activestate.com/activeperl/features/ ActivePerl] from [http://www.activestate.com/ ActiveState]. The | Uniform Server's Perl plugins use [http://www.activestate.com/activeperl/features/ ActivePerl] from [http://www.activestate.com/ ActiveState]. The version currently in use is ActivePerl 5.10.1.1007. It’s an industry-standard Perl distribution. | ||
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. | Apart from being robust and reliable, one of its main features is portability. | ||
Line 71: | Line 69: | ||
|} | |} | ||
I hope non-Perl users will appreciate | I hope non-Perl users will appreciate the significant overhead this represents, even with mini-Perl installed, 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. | If space is at a premium, Perl users can start with mini-Perl and add modules as required from full-Perl. | ||
Line 129: | Line 127: | ||
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. | 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. | However if the server remains static and you have added new scripts in the cgi-bin folder, the Shebang is never updated. Therefore run the following menu item after installing new scripts. It updates the Shebang in all files to the current Perl location. | ||
Line 146: | Line 144: | ||
==== Convert to Unix format ==== | ==== Convert to Unix format ==== | ||
Perl scripts developed on Windows will not run on a Unix machine. They require conversion 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: | Run the conversion script from UniTray as follows: | ||