summaryrefslogtreecommitdiff
path: root/pod/perldata.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-10-08 17:07:42 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-10-08 17:07:42 +0000
commit7e4353e96785be675a69a6886d154405dbfdc124 (patch)
tree744cbf7bba498683a441457098432da676e7b732 /pod/perldata.pod
parenta4e0d2399ad31e76c4f1f1f5c7e44c6b5df4e6ae (diff)
downloadperl-7e4353e96785be675a69a6886d154405dbfdc124.tar.gz
Clarifications on the usage of setlocale() and LC_NUMERIC to
affect the decimal point in output, by Jarkko. p4raw-id: //depot/perl@28965
Diffstat (limited to 'pod/perldata.pod')
-rw-r--r--pod/perldata.pod6
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perldata.pod b/pod/perldata.pod
index 82ad8556c8..cbfe0704ce 100644
--- a/pod/perldata.pod
+++ b/pod/perldata.pod
@@ -337,6 +337,12 @@ X<interpolation>
There is no double interpolation in Perl, so the C<$100> is left as is.
+By default floating point numbers substituted inside strings use the
+dot (".") as the decimal separator. If C<use locale> is in effect,
+and POSIX::setlocale() has been called, the character used for the
+decimal separator is affected by the LC_NUMERIC locale.
+See L<perllocale> and L<POSIX>.
+
As in some shells, you can enclose the variable name in braces to
disambiguate it from following alphanumerics (and underscores).
You must also do