We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fda109d commit 3d562b0Copy full SHA for 3d562b0
doc/Language/variables.pod
@@ -1106,7 +1106,8 @@ Other compile-time variables:
1106
| "home directory" cannot be determined it will be L<Nil>
1107
------------------+--------------------------------------------
1108
$*SPEC | The appropriate L<IO::Spec> sub-class for the platform that
1109
- | the program is running on.
+ | the program is running on. For OS-specific code, simply use smartmatch:
1110
+ | C<say "We are on Windows!" if $*SPEC ~~ IO::Spec::Win32>
1111
1112
$*TMPDIR | An L<IO::Path> object representing the "system temporary directory"
1113
0 commit comments