System Administration Guide, Volume 3

Perl 5

Practical Extraction and Report Language (Perl) 5.005_03, a powerful general purpose programming language and generally available as free software, is included in this Solaris release. Perl has emerged as the standard development tool for complex system administration tasks, such as graphic, network, and world wide web programming because of its excellent process, file, and text manipulation features.

Perl 5 includes a dynamically loadable module framework, which allows the addition of new functionality for specific tasks. Many modules are freely available from the Comprehensive Perl Archive Network (CPAN), at http://www.cpan.org. Some of the core modules included with this Solaris Perl installation are CGI, NDBM_File, and Getopt. These modules reside in the /usr/perl5/5.00503 directory. The site_perl directory is initially empty and is intended to store your locally installed Perl 5 modules.

For more information, use the perldoc command to examine the Perl pod (portable documentation) in the /usr/perl5/pod directory, like this:


% cd /usr/perl5/pod 
% /usr/perl5/bin/perldoc perlfaq1.pod