| 1 |
.\" -*- mode: troff; coding: utf-8 -*- |
| 2 |
.\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) |
| 3 |
.\" |
| 4 |
.\" Standard preamble: |
| 5 |
.\" ======================================================================== |
| 6 |
.de Sp \" Vertical space (when we can't use .PP) |
| 7 |
.if t .sp .5v |
| 8 |
.if n .sp |
| 9 |
.. |
| 10 |
.de Vb \" Begin verbatim text |
| 11 |
.ft CW |
| 12 |
.nf |
| 13 |
.ne \\$1 |
| 14 |
.. |
| 15 |
.de Ve \" End verbatim text |
| 16 |
.ft R |
| 17 |
.fi |
| 18 |
.. |
| 19 |
.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. |
| 20 |
.ie n \{\ |
| 21 |
. ds C` "" |
| 22 |
. ds C' "" |
| 23 |
'br\} |
| 24 |
.el\{\ |
| 25 |
. ds C` |
| 26 |
. ds C' |
| 27 |
'br\} |
| 28 |
.\" |
| 29 |
.\" Escape single quotes in literal strings from groff's Unicode transform. |
| 30 |
.ie \n(.g .ds Aq \(aq |
| 31 |
.el .ds Aq ' |
| 32 |
.\" |
| 33 |
.\" If the F register is >0, we'll generate index entries on stderr for |
| 34 |
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index |
| 35 |
.\" entries marked with X<> in POD. Of course, you'll have to process the |
| 36 |
.\" output yourself in some meaningful fashion. |
| 37 |
.\" |
| 38 |
.\" Avoid warning from groff about undefined register 'F'. |
| 39 |
.de IX |
| 40 |
.. |
| 41 |
.nr rF 0 |
| 42 |
.if \n(.g .if rF .nr rF 1 |
| 43 |
.if (\n(rF:(\n(.g==0)) \{\ |
| 44 |
. if \nF \{\ |
| 45 |
. de IX |
| 46 |
. tm Index:\\$1\t\\n%\t"\\$2" |
| 47 |
.. |
| 48 |
. if !\nF==2 \{\ |
| 49 |
. nr % 0 |
| 50 |
. nr F 2 |
| 51 |
. \} |
| 52 |
. \} |
| 53 |
.\} |
| 54 |
.rr rF |
| 55 |
.\" ======================================================================== |
| 56 |
.\" |
| 57 |
.IX Title "PERLVOS 1" |
| 58 |
.TH PERLVOS 1 2025-11-16 "perl v5.40.1" "Perl Programmers Reference Guide" |
| 59 |
.\" For nroff, turn off justification. Always turn off hyphenation; it makes |
| 60 |
.\" way too many mistakes in technical documents. |
| 61 |
.if n .ad l |
| 62 |
.nh |
| 63 |
.SH NAME |
| 64 |
perlvos \- Perl for Stratus OpenVOS |
| 65 |
.SH SYNOPSIS |
| 66 |
.IX Header "SYNOPSIS" |
| 67 |
This file contains notes for building perl on the Stratus OpenVOS |
| 68 |
operating system. Perl is a scripting or macro language that is |
| 69 |
popular on many systems. See perlbook for a number of good books |
| 70 |
on Perl. |
| 71 |
.PP |
| 72 |
These are instructions for building Perl from source. This version of |
| 73 |
Perl requires the dynamic linking support that is found in OpenVOS |
| 74 |
Release 17.1 and thus is not supported on OpenVOS Release 17.0 or |
| 75 |
earlier releases. |
| 76 |
.PP |
| 77 |
If you are running VOS Release 14.4.1 or later, you can obtain a |
| 78 |
pre-compiled, supported copy of perl by purchasing the GNU Tools |
| 79 |
product from Stratus Technologies. |
| 80 |
.SH "BUILDING PERL FOR OPENVOS" |
| 81 |
.IX Header "BUILDING PERL FOR OPENVOS" |
| 82 |
To build perl from its source code on the Stratus V Series platform |
| 83 |
you must have OpenVOS Release 17.1.0 or later, GNU Tools Release |
| 84 |
3.5 or later, and the C/POSIX Runtime Libraries. |
| 85 |
.PP |
| 86 |
Follow the normal instructions for building perl; e.g, enter bash, run |
| 87 |
the Configure script, then use "gmake" to build perl. |
| 88 |
.SH "INSTALLING PERL IN OPENVOS" |
| 89 |
.IX Header "INSTALLING PERL IN OPENVOS" |
| 90 |
.IP 1. 4 |
| 91 |
After you have built perl using the Configure script, ensure that you |
| 92 |
have modify and default write permission to \f(CW\*(C`>system>ported\*(C'\fR and |
| 93 |
all subdirectories. Then type |
| 94 |
.Sp |
| 95 |
.Vb 1 |
| 96 |
\& gmake install |
| 97 |
.Ve |
| 98 |
.IP 2. 4 |
| 99 |
While there are currently no architecture-specific extensions or |
| 100 |
modules distributed with perl, the following directories can be |
| 101 |
used to hold such files (replace the string VERSION by the |
| 102 |
appropriate version number): |
| 103 |
.Sp |
| 104 |
.Vb 1 |
| 105 |
\& >system>ported>lib>perl5>VERSION>i786 |
| 106 |
.Ve |
| 107 |
.IP 3. 4 |
| 108 |
Site-specific perl extensions and modules can be installed in one of |
| 109 |
two places. Put architecture-independent files into: |
| 110 |
.Sp |
| 111 |
.Vb 1 |
| 112 |
\& >system>ported>lib>perl5>site_perl>VERSION |
| 113 |
.Ve |
| 114 |
.Sp |
| 115 |
Put site-specific architecture-dependent files into one of the |
| 116 |
following directories: |
| 117 |
.Sp |
| 118 |
.Vb 1 |
| 119 |
\& >system>ported>lib>perl5>site_perl>VERSION>i786 |
| 120 |
.Ve |
| 121 |
.IP 4. 4 |
| 122 |
You can examine the \f(CW@INC\fR variable from within a perl program |
| 123 |
to see the order in which Perl searches these directories. |
| 124 |
.SH "USING PERL IN OPENVOS" |
| 125 |
.IX Header "USING PERL IN OPENVOS" |
| 126 |
.SS "Restrictions of Perl on OpenVOS" |
| 127 |
.IX Subsection "Restrictions of Perl on OpenVOS" |
| 128 |
This port of Perl version 5 prefers Unix-style, slash-separated |
| 129 |
pathnames over OpenVOS-style greater-than-separated pathnames. |
| 130 |
OpenVOS-style pathnames should work in most contexts, but if you have |
| 131 |
trouble, replace all greater-than characters by slash characters. |
| 132 |
Because the slash character is used as a pathname delimiter, Perl |
| 133 |
cannot process OpenVOS pathnames containing a slash character in a |
| 134 |
directory or file name; these must be renamed. |
| 135 |
.PP |
| 136 |
This port of Perl also uses Unix-epoch date values internally. |
| 137 |
As long as you are dealing with ASCII character string |
| 138 |
representations of dates, this should not be an issue. The |
| 139 |
supported epoch is January 1, 1980 to January 17, 2038. |
| 140 |
.PP |
| 141 |
See the file pod/perlport.pod for more information about the OpenVOS |
| 142 |
port of Perl. |
| 143 |
.SH "TEST STATUS" |
| 144 |
.IX Header "TEST STATUS" |
| 145 |
A number of the perl self-tests fails for various reasons; generally |
| 146 |
these are minor and due to subtle differences between common |
| 147 |
POSIX-based environments and the OpenVOS POSIX environment. Ensure |
| 148 |
that you conduct sufficient testing of your code to guarantee that it |
| 149 |
works properly in the OpenVOS environment. |
| 150 |
.SH "SUPPORT STATUS" |
| 151 |
.IX Header "SUPPORT STATUS" |
| 152 |
I'm offering this port "as is". You can ask me questions, but I |
| 153 |
can't guarantee I'll be able to answer them. There are some |
| 154 |
excellent books available on the Perl language; consult a book |
| 155 |
seller. |
| 156 |
.PP |
| 157 |
If you want a supported version of perl for OpenVOS, purchase the |
| 158 |
OpenVOS GNU Tools product from Stratus Technologies, along with a |
| 159 |
support contract (or from anyone else who will sell you support). |
| 160 |
.SH AUTHOR |
| 161 |
.IX Header "AUTHOR" |
| 162 |
Paul Green ([email protected]) |
| 163 |
.SH "LAST UPDATE" |
| 164 |
.IX Header "LAST UPDATE" |
| 165 |
February 28, 2013 |