JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Introduction to Oracle Solaris 11 Network Services     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Network Service (Overview)

Topics for the Oracle Solaris 11 Release

Perl 5

Accessing Perl Documentation

Perl Compatibility Issues

Changes to the Oracle Solaris Version of Perl

2.  Managing Web Cache Servers

3.  Time-Related Services

Index

Perl 5

This Oracle Solaris release includes Practical Extraction and Report Language (Perl) version 5.8.4 and 5.12, a powerful general-purpose programming language that is generally available as free software. Perl has emerged as the standard development tool for complex system administration tasks because of its excellent process, file, and text manipulation features.

Perl 5 includes a dynamically loadable module framework, which allows the addition of new capabilities for specific tasks. Many modules are freely available from the Comprehensive Perl Archive Network (CPAN) at http://www.cpan.org. If you wish to build and install add-on modules from CPAN using gcc, you can do so using the /usr/perl5/5.8.4/bin/perlgcc or the /usr/perl5/5.12/bin/perlgcc script. See the perlgcc(1) man page with the 5.8.4 distribution for details.

Accessing Perl Documentation

Several sources of information about Perl are included in this Oracle Solaris release. The same information is available by using these two mechanisms.

You can access the man pages by adding /usr/perl5/man to your MANPATH environment variable. This example displays the Perl overview.

% setenv MANPATH ${MANPATH}:/usr/perl5/man
% man perl

You can access additional documentation by using the perldoc utility. This example displays the same overview information.

% /usr/perl5/bin/perldoc perl

The perl overview page lists of all the documentation that is included with the release.

Perl Compatibility Issues

In general, the 5.12 version of Perl is compatible with the previous version. Scripts do not have to be rebuilt or recompiled to function. However, any XSUB-based (.xs) modules require recompilation and reinstallation.

Changes to the Oracle Solaris Version of Perl

The Oracle Solaris version of Perl was compiled to include system memory allocator, 64-bit integer and large file support. In addition, appropriate patches have been applied. For a full list of all configuration information, review the results from this command.

% /usr/perl5/bin/perlbug -dv
---
Flags:
    category=
    severity=
---
Site configuration information for perl v5.12.4:
 .
 .

You can generate a shorter list by using perl -V.