diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-06 18:57:39 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-06 18:57:39 +0000 |
commit | 916d64a3a14e0d933ef0f4e8592bd46ac973efe6 (patch) | |
tree | 8b413c8072a9561e24a119d5ece961b6ff42768e /pod/perlvar.pod | |
parent | d29820a7a5800074874ec72fde5f57c0f699c7c8 (diff) | |
download | perl-916d64a3a14e0d933ef0f4e8592bd46ac973efe6.tar.gz |
Document that $^O in Win32 is a bit lacking in details.
p4raw-id: //depot/perl@17044
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r-- | pod/perlvar.pod | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod index ae7261765b..07ee0db1f8 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -1003,6 +1003,12 @@ built, as determined during the configuration process. The value is identical to C<$Config{'osname'}>. See also L<Config> and the B<-V> command-line switch documented in L<perlrun>. +In Windows platforms the $^O is not very helpful since it is always +MSWin32 (or MSWin64, when applicable), it doesn't tell the difference +between 95/98/ME/NT/2000/XP/CE. Use Win32::GetOSVersion() (see L<perlport>) +and other means (like for example the presence/absence of some files) to +distinguish those. + =item ${^OPEN} An internal variable used by PerlIO. A string in two parts, separated |