diff options
author | Ricardo Signes <rjbs@cpan.org> | 2015-09-30 07:49:40 -0400 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2015-09-30 07:49:40 -0400 |
commit | 3b90fd9161349d784f8fd6d60e63a664a3f9411e (patch) | |
tree | 055ca94b70da6ccdf287ec82e58ea5d33840f36d /pod/perlvar.pod | |
parent | 94757bf7ac8451b3588578f287f9c511a04011bf (diff) | |
download | perl-3b90fd9161349d784f8fd6d60e63a664a3f9411e.tar.gz |
document the specific value of $!{E...}
...and note that it is subject to change and not guaranteed
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r-- | pod/perlvar.pod | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod index 005f23eb5a..f5922add69 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -1820,10 +1820,12 @@ Each element of C<%!> has a true value only if C<$!> is set to that value. For example, C<$!{ENOENT}> is true if and only if the current value of C<$!> is C<ENOENT>; that is, if the most recent error was "No such file or directory" (or its moral equivalent: not all operating -systems give that exact error, and certainly not all languages). To -check if a particular key is meaningful on your system, use C<exists -$!{the_key}>; for a list of legal keys, use C<keys %!>. See L<Errno> -for more information, and also see L</$!>. +systems give that exact error, and certainly not all languages). The +specific true value is not guaranteed, but in the past has generally +been the numeric value of C<$!>. To check if a particular key is +meaningful on your system, use C<exists $!{the_key}>; for a list of legal +keys, use C<keys %!>. See L<Errno> for more information, and also see +L</$!>. This variable was added in Perl 5.005. |