diff options
author | Karl Williamson <khw@cpan.org> | 2014-05-15 14:13:36 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-05-15 14:18:26 -0600 |
commit | 458680b3aae46fcb1cdd0271ddb73bcf59dbb8dc (patch) | |
tree | c763989aa87261393a85e08735a04c2e1ab74e6d /ext | |
parent | 36c4d3a022e7b44aa60805dfca138d283592c14f (diff) | |
download | perl-458680b3aae46fcb1cdd0271ddb73bcf59dbb8dc.tar.gz |
POSIX.pod: Add clarification for strtod();
Diffstat (limited to 'ext')
-rw-r--r-- | ext/POSIX/lib/POSIX.pod | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/POSIX/lib/POSIX.pod b/ext/POSIX/lib/POSIX.pod index ec52dd409c..ee1e77afcf 100644 --- a/ext/POSIX/lib/POSIX.pod +++ b/ext/POSIX/lib/POSIX.pod @@ -1491,7 +1491,9 @@ POSIX-compliant systems set C<$!> (C<$ERRNO>) to indicate a translation error, so clear C<$!> before calling strtod. However, non-POSIX systems may not check for overflow, and therefore will never set C<$!>. -strtod respects any POSIX I<setlocale()> settings. +strtod respects any POSIX I<setlocale()> C<LC_TIME> settings, +regardless of whether or not it is called from Perl code that is within +the scope of S<C<use locale>>. To parse a string C<$str> as a floating point number use |