~ubuntu-branches/ubuntu/precise/perl/precise

« back to all changes in this revision

Viewing changes to pod/perlport.pod

  • Committer: Bazaar Package Importer
  • Author(s): Niko Tyni
  • Date: 2011-02-06 11:31:38 UTC
  • mto: (8.2.12 experimental) (1.1.12)
  • mto: This revision was merged to the branch mainline in revision 46.
  • Revision ID: james.westby@ubuntu.com-20110206113138-lzpm3g6rur7i3eyp
Tags: upstream-5.12.3
ImportĀ upstreamĀ versionĀ 5.12.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1159
1159
 
1160
1160
=head2 VOS
1161
1161
 
1162
 
Perl on VOS is discussed in F<README.vos> in the perl distribution
1163
 
(installed as L<perlvos>).  Perl on VOS can accept either VOS- or
1164
 
Unix-style file specifications as in either of the following:
 
1162
Perl on VOS (also known as OpenVOS) is discussed in F<README.vos>
 
1163
in the perl distribution (installed as L<perlvos>).  Perl on VOS
 
1164
can accept either VOS- or Unix-style file specifications as in
 
1165
either of the following:
1165
1166
 
1166
1167
    $ perl -ne "print if /perl_setup/i" >system>notices
1167
1168
    $ perl -ne "print if /perl_setup/i" /system/notices
1172
1173
 
1173
1174
Even though VOS allows the slash character to appear in object
1174
1175
names, because the VOS port of Perl interprets it as a pathname
1175
 
delimiting character, VOS files, directories, or links whose names
1176
 
contain a slash character cannot be processed.  Such files must be
1177
 
renamed before they can be processed by Perl.  Note that VOS limits
1178
 
file names to 32 or fewer characters, file names cannot start with a
1179
 
C<-> character, or contain any character matching C<< tr/ !%&'()*+;<>?// >>
1180
 
 
1181
 
The value of C<$^O> on VOS is "VOS".  To determine the architecture that
1182
 
you are running on without resorting to loading all of C<%Config> you
1183
 
can examine the content of the @INC array like so:
 
1176
delimiting character, VOS files, directories, or links whose
 
1177
names contain a slash character cannot be processed.  Such files
 
1178
must be renamed before they can be processed by Perl.
 
1179
 
 
1180
Older releases of VOS (prior to OpenVOS Release 17.0) limit file
 
1181
names to 32 or fewer characters, prohibit file names from
 
1182
starting with a C<-> character, and prohibit file names from
 
1183
containing any character matching C<< tr/ !#%&'()*;<=>?// >>.
 
1184
 
 
1185
Newer releases of VOS (OpenVOS Release 17.0 or later) support a
 
1186
feature known as extended names.  On these releases, file names
 
1187
can contain up to 255 characters, are prohibited from starting
 
1188
with a C<-> character, and the set of prohibited characters is
 
1189
reduced to any character matching C<< tr/#%*<>?// >>.  There are
 
1190
restrictions involving spaces and apostrophies:  these characters
 
1191
must not begin or end a name, nor can they immediately precede or
 
1192
follow a period.  Additionally, a space must not immediately
 
1193
precede another space or hyphen.  Specifically, the following
 
1194
character combinations are prohibited:  space-space,
 
1195
space-hyphen, period-space, space-period, period-apostrophe,
 
1196
apostrophe-period, leading or trailing space, and leading or
 
1197
trailing apostrophe.  Although an extended file name is limited
 
1198
to 255 characters, a path name is still limited to 256
 
1199
characters.
 
1200
 
 
1201
The value of C<$^O> on VOS is "VOS".  To determine the
 
1202
architecture that you are running on without resorting to loading
 
1203
all of C<%Config> you can examine the content of the @INC array
 
1204
like so:
1184
1205
 
1185
1206
    if ($^O =~ /VOS/) {
1186
1207
        print "I'm on a Stratus box!\n";
1202
1223
The VOS mailing list.
1203
1224
 
1204
1225
There is no specific mailing list for Perl on VOS.  You can post
1205
 
comments to the comp.sys.stratus newsgroup, or subscribe to the general
1206
 
Stratus mailing list.  Send a letter with "subscribe Info-Stratus" in
1207
 
the message body to majordomo@list.stratagy.com.
 
1226
comments to the comp.sys.stratus newsgroup, or use the contact
 
1227
information located in the distribution files on the Stratus
 
1228
Anonymous FTP site.
1208
1229
 
1209
1230
=item *
1210
1231
 
1764
1785
it will become inaccurate as the time gets larger.  This is a bug and
1765
1786
will be fixed in the future.
1766
1787
 
 
1788
On VOS, time values are 32-bit quantities.
 
1789
 
1767
1790
=item ioctl FILEHANDLE,FUNCTION,SCALAR
1768
1791
 
1769
1792
Not implemented. (VMS)
1795
1818
 
1796
1819
=item link
1797
1820
 
1798
 
Not implemented. (MPE/iX, S<RISC OS>)
 
1821
Not implemented. (MPE/iX, S<RISC OS>, VOS)
1799
1822
 
1800
1823
Link count not updated because hard links are not quite that hard
1801
1824
(They are sort of half-way between hard and soft links). (AmigaOS)
1859
1882
 
1860
1883
=item semop
1861
1884
 
1862
 
Not implemented. ( Win32, VMS, S<RISC OS>, VOS)
 
1885
Not implemented. (Win32, VMS, S<RISC OS>)
1863
1886
 
1864
1887
=item setgrent
1865
1888
 
1866
 
Not implemented. (MPE/iX, VMS, Win32, S<RISC OS>, VOS)
 
1889
Not implemented. (MPE/iX, VMS, Win32, S<RISC OS>)
1867
1890
 
1868
1891
=item setpgrp
1869
1892
 
1875
1898
 
1876
1899
=item setpwent
1877
1900
 
1878
 
Not implemented. (MPE/iX, Win32, S<RISC OS>, VOS)
 
1901
Not implemented. (MPE/iX, Win32, S<RISC OS>)
1879
1902
 
1880
1903
=item setsockopt
1881
1904
 
1898
1921
 
1899
1922
=item socketpair
1900
1923
 
1901
 
Not implemented. (S<RISC OS>, VOS, VM/ESA)
 
1924
Not implemented. (S<RISC OS>, VM/ESA)
 
1925
 
 
1926
Available on OpenVOS Release 17.0 or later. (VOS)
1902
1927
 
1903
1928
Available on 64 bit OpenVMS 8.2 and later.  (VMS)
1904
1929
 
2101
2126
 
2102
2127
=item Symbian (Series 60 v3, 3.2 and 5 - what else?)
2103
2128
 
2104
 
=item Stratus VOS
 
2129
=item Stratus VOS / OpenVOS
2105
2130
 
2106
2131
=item AIX
2107
2132