From: Ævar Arnfjörð Bjarmason Date: Thu, 13 May 2010 22:02:25 +0000 (+0000) Subject: Link to perlport/PLATFORMS from the $^O docs X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9bf2270250326fb85445d6849ed84a94434dd12c;p=p5sagit%2Fp5-mst-13.2.git Link to perlport/PLATFORMS from the $^O docs I was looking for some actual values of $^O the other day and started ack-ing t/. Turns out that this was documented in perlport. Link to the relevant section to make it easy to find. --- diff --git a/pod/perlvar.pod b/pod/perlvar.pod index 0b31330..bcd8ecf 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -1197,9 +1197,11 @@ this variable. X<$^O> X<$OSNAME> The name of the operating system under which this copy of Perl was -built, as determined during the configuration process. The value -is identical to C<$Config{'osname'}>. See also L and the -B<-V> command-line switch documented in L. +built, as determined during the configuration process. For examples +see L. + +The value is identical to C<$Config{'osname'}>. See also L +and the B<-V> command-line switch documented in L. In Windows platforms, $^O is not very helpful: since it is always C, it doesn't tell the difference between