Cari di Perl 
    Perl User Manual
Daftar Isi
(Sebelumnya) VMS-specific documentation for PerlPerl under Windows (Berikutnya)
Platform Specific

Perl for Stratus VOS

Daftar Isi

NAME

perlvos - Perl for Stratus VOS

SYNOPSIS

This file contains notes for building perl on the Stratus VOSoperating system. Perl is a scripting or macro language that ispopular on many systems. See perlbook for a number of goodbooks on Perl.

These are instructions for building Perl from source. This version ofPerl is not supported on VOS Release 14.2 or earlier releases. If youhave a Continuum platform running VOS Release 14.3 through 14.7,download Perl from the Stratus Anonymous FTP site atftp://ftp.stratus.com/pub/vos/posix/ga/continuum/continuum.html. Ifyou have a V Series platform running VOS Release 15.0 or later, or ifyou have a V Series platform running OpenVOS Release 17.0 or later,download Perl fromftp://ftp.stratus.com/pub/vos/posix/ga/v-series/v-series.html. Theperl distribution files on the Stratus anonymous FTP site are storedin a format called a "bundled file". Instructions for unbundling thePerl distribution file are atftp://ftp.stratus.com/pub/vos/utility/utility.html.

If you are running VOS Release 14.4.1 or later, you can obtain apre-compiled, supported copy of perl by purchasing Release 2.0.1(or later) of the VOS GNU C/C++ and GNU Tools product fromStratus Technologies.

BUILDING PERL FOR VOS

To build perl from its source code on the Stratus Continuumplatform, you must be have VOS Release 14.5.0 or later, the STCPproduct, and the GNU C/C++ and GNU Tools, Release 2.0.1 orlater. On the V Series platform you must have VOS Release15.0.0 or later, and any version of the GNU C/C++ and GNU Toolsproduct.

To build full perl using the supplied Configure script andmakefiles, change to the "vos" subdirectory and type the command"compile_full_perl" or "start_process compile_full_perl". Thiswill configure, build, and test perl.

INSTALLING PERL IN VOS

1

If you have built perl using the Configure script, ensure thatyou have modify and default write permission to >system>ported and all subdirectories. Then type

  1. gmake install
2

While there are currently no architecture-specific extensions ormodules distributed with perl, the following directories can beused to hold such files (replace the string VERSION by theappropriate version number):

  1. >system>ported>lib>perl5>VERSION>7100
  2. >system>ported>lib>perl5>VERSION>8000
  3. >system>ported>lib>perl5>VERSION>i786
3

Site-specific perl extensions and modules can be installed in one oftwo places. Put architecture-independent files into:

  1. >system>ported>lib>perl5>site_perl>VERSION

Put site-specific architecture-dependent files into one of thefollowing directories:

  1. >system>ported>lib>perl5>site_perl>VERSION>7100
  2. >system>ported>lib>perl5>site_perl>VERSION>8000
  3. >system>ported>lib>perl5>site_perl>VERSION>i786
4

You can examine the @INC variable from within a perl programto see the order in which Perl searches these directories.

USING PERL IN VOS

Restrictions of Perl on VOS

This port of Perl version 5 to VOS prefers Unix-style,slash-separated pathnames over VOS-style greater-than-separatedpathnames. VOS-style pathnames should work in most contexts, butif you have trouble, replace all greater-than characters by slashcharacters. Because the slash character is used as a pathnamedelimiter, Perl cannot process VOS pathnames containing a slashcharacter in a directory or file name; these must be renamed.

This port of Perl also uses Unix-epoch date values internally.As long as you are dealing with ASCII character stringrepresentations of dates, this should not be an issue. Thesupported epoch is January 1, 1980 to January 17, 2038.

See the file pod/perlport.pod for more information about the VOSport of Perl.

Handling of underflow and overflow

Prior to VOS Release 14.7.0, VOS does not support automaticallymapping overflowed floating-point values to +infinity, norautomatically mapping underflowed floating-point values to zero,unlike many other platforms. The Perl pack function has beenmodified to perform such mapping in software on VOS. Performingother floating-point computations that underflow or overflowwill probably result in SIGFPE. Don't push your luck.

As of VOS Release 14.7.0 or later, the VOS POSIX runtime sets upthe PA-RISC and IA-32 hardware floating-point status register sothat the overflow and underflow exceptions do not trap, butinstead automatically convert the result to infinity or zero, asappropriate. As of this writing, there are still floating-pointoperations that can trap, for example, subtracting two infinitevalues. This is recorded as suggestion posix-1022, which hasbeen fixed in VOS Release 15.2 and higher.

TEST STATUS

When Perl 5.9.0 is built using the native build process on VOSRelease 14.7.0 and GNU C++/GNU Tools 2.0.2a, all but nineattempted tests either pass or result in TODO (ignored)failures. The tests that fail are:

t/io/dup, test 2t/io/tell, test 28t/op/pack, test 0ext/B/t/bytecode, test 1ext/Devel/Peek/t/Peek, test 1ext/Encode/t/enc_module, test 1ext/IO/t/io_dup, test 2lib/ExtUtils/t/MM_Unix, test 94lib/Net/ing/t/450_service, test 8

SUPPORT STATUS

I'm offering this port "as is". You can ask me questions, but Ican't guarantee I'll be able to answer them. There are someexcellent books available on the Perl language; consult a bookseller.

If you want a supported version of perl for VOS, purchase theVOS GNU C/C++ and GNU Tools Release 2.0.1 (or later) product fromStratus Technologies, along with a support contract (or fromanyone else who will sell you support).

AUTHOR

Paul Green ([email protected])

LAST UPDATE

October 6, 2010

 
Source : perldoc.perl.org - Official documentation for the Perl programming language
Site maintained by Jon Allen (JJ)     See the project page for more details
Documentation maintained by the Perl 5 Porters
(Sebelumnya) VMS-specific documentation for PerlPerl under Windows (Berikutnya)