Skip to content

Commit

Permalink
Point out a way to detect OS in use
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed May 27, 2016
1 parent fda109d commit 3d562b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/Language/variables.pod
Expand Up @@ -1106,7 +1106,8 @@ Other compile-time variables:
| "home directory" cannot be determined it will be L<Nil>
------------------+--------------------------------------------
$*SPEC | The appropriate L<IO::Spec> sub-class for the platform that
| the program is running on.
| the program is running on. For OS-specific code, simply use smartmatch:
| C<say "We are on Windows!" if $*SPEC ~~ IO::Spec::Win32>
------------------+--------------------------------------------
$*TMPDIR | An L<IO::Path> object representing the "system temporary directory"
------------------+--------------------------------------------
Expand Down

0 comments on commit 3d562b0

Please sign in to comment.