|
Perl
Perl
has become a
language of choice for World Wide Web development, text processing,
Internet services, mail filtering, systems
administration, and most every other task requiring a portable and
easily developed solution.
Your Virtual Server has the
Perl5 interpreter already installed at the following location.
~/usr/local/bin/perl
If you require the use
of the Perl5 Standard Libraries or other Perl5 modules, you will need to install these into a local directory on your
Virtual Server.
Installing the Perl5 Standard Libraries
Connect to your Virtual Server via
Telnet or SSH
and run the following commands that match your Virtual Server O/S.
|
NOTE: If your Virtual Server is running the FreeBSD O/S you should
already have the Perl5 Standard Libraries installed at ~/usr/local/lib/perl5.
If not, or if you wish to re-install them, follow the directions below.
The Perl5 Standard Libraries for FreeBSD
do not count toward your Virtual Server disk space quota.
The libraries for BSD/OS require approximately 11 MB of disk space.
If your Virtual Server was ordered after Nov 22, 1999, you are likely
running FreeBSD. To find out which O/S your Virtual Server is running, use the
uname command:
% uname
If your Virtual Server is not already running FreeBSD,
Upgrade to a New FreeBSD Virtual Server
today!
|
|
FreeBSD
% vinstall perl5
|
BSD/OS
% cd
% tar xvf /usr/local/contrib/perl5.tar
|
Removing the Perl5 Standard Libraries
If you would like to remove the Perl5 Standard Libraries
you may do so by running the following commands
that match your Virtual Server O/S.
|
FreeBSD
% vrmperl
|
BSD/OS
% rm -rf ~/usr/local/lib/perl5
|
Perl5 Modules
Perl5 Modules
can greatly extend the functionality of your Virtual Server
Perl programming language interpreter. By using prepared modules written by
others, instead of using your own code, you can save yourself both time and effort.
Many popular Perl5 modules can be easily installed on your Virtual Server.
perldoc - Perl Documentation Viewer
Do the following to install the perldoc utility, which you can use to view Perl5
documentation, on your Virtual Server.
|
FreeBSD
% vinstall perldoc
|
BSD/OS
unavailable
|
This command links in a variety of required terminal macro definitions
as well as a bunch of groff/troff/nroff files required for proper man
page formatting.
Once installed, you may run the following command to access documentation for your
favorite Perl5 module. Substitute your favorite Perl5 module name for
Module::Favorite below.
% virtual perldoc Module::Favorite
More Information
There is a wealth of available Perl information and documentation online.
|