.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.29) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{ . if \nF \{ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Perl::osnames 3pm" .TH Perl::osnames 3pm "2016-06-18" "perl v5.22.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Perl::osnames \- List possible $^O ($OSNAME) values, with description .SH "VERSION" .IX Header "VERSION" This document describes version 0.11 of Perl::osnames (from Perl distribution Perl-osnames), released on 2014\-12\-19. .SH "DESCRIPTION" .IX Header "DESCRIPTION" This package contains \f(CW$data\fR which lists possible values of \f(CW$^O\fR along with description for each. It also provides some helper functions. .SS "Tags" .IX Subsection "Tags" .IP "\(bu" 4 unix .Sp Unix-like operating systems. This currently excludes beos/haiku. .IP "\(bu" 4 bsd .Sp BSD-derived Unix operating systems. .IP "\(bu" 4 sysv .Sp SysV-derived Unix operating systems. .IP "\(bu" 4 posix .Sp For POSIX-compliant OSes, including fully\-, mostly\-, and largely-compliant ones (source: ). .Sp From what I can gather, dec_osf is not \s-1POSIX\s0 compliant, although there is a posix package for it. .SH "VARIABLES" .IX Header "VARIABLES" None are exported by default, but they are exportable. .ie n .SS "$data" .el .SS "\f(CW$data\fP" .IX Subsection "$data" An arrayref of records (arrayrefs), each structured as: .PP .Vb 1 \& [$name, \e@tags, $description] .Ve .SH "FUNCTIONS" .IX Header "FUNCTIONS" None are exported by default, but they are exportable. .ie n .SS "is_posix([ $os ]) => bool" .el .SS "is_posix([ \f(CW$os\fP ]) => bool" .IX Subsection "is_posix([ $os ]) => bool" Check whether \f(CW$os\fR (defaults to \f(CW$^O\fR if not specified) is \s-1POSIX \s0(checked by the existence of \f(CW\*(C`posix\*(C'\fR tag on the \s-1OS\s0's record in \f(CW$data\fR). Will return 0, 1, or undef if \f(CW$os\fR is unknown. .ie n .SS "is_unix([ $os ]) => bool" .el .SS "is_unix([ \f(CW$os\fP ]) => bool" .IX Subsection "is_unix([ $os ]) => bool" Check whether \f(CW$os\fR (defaults to \f(CW$^O\fR if not specified) is Unix (checked by the existence of \f(CW\*(C`unix\*(C'\fR tag on the \s-1OS\s0's record in \f(CW$data\fR). Will return 0, 1, or undef if \f(CW$os\fR is unknown. .SH "SEE ALSO" .IX Header "SEE ALSO" perlvar .PP Config .PP Perl::OSType, a core module. You should probably use this module instead. Currently the difference between this module and Perl::osnames: 1) Perl::osnames currently doesn't list beos/haiku as Unix, but \s-1POSIX\s0; 2) Perl::osnames provides more tags (like sysv, bsd, posix) and description. .PP Devel::Platform::Info .PP The output of \f(CW\*(C`perl \-V\*(C'\fR .PP App::osnames, the original reason for Perl::osnames. With this \s-1CLI\s0 tool you can grep \s-1OS\s0 names by name, tag, or description, e.g. \f(CW\*(C`osnames solaris\*(C'\fR or \&\f(CW\*(C`osnames posix\*(C'\fR. .SH "HOMEPAGE" .IX Header "HOMEPAGE" Please visit the project's homepage at . .SH "SOURCE" .IX Header "SOURCE" Source repository is at . .SH "BUGS" .IX Header "BUGS" Please report any bugs or feature requests on the bugtracker website .PP When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. .SH "AUTHOR" .IX Header "AUTHOR" perlancar .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" This software is copyright (c) 2014 by perlancar@cpan.org. .PP This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.