summaryrefslogtreecommitdiff
path: root/pod/perldata.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perldata.pod')
-rw-r--r--pod/perldata.pod5
1 files changed, 3 insertions, 2 deletions
diff --git a/pod/perldata.pod b/pod/perldata.pod
index 254304cad9..1b02b1e192 100644
--- a/pod/perldata.pod
+++ b/pod/perldata.pod
@@ -336,8 +336,9 @@ In fact, an identifier within such curlies is forced to be a string,
as is any simple identifier within a hash subscript. Neither need
quoting. Our earlier example, C<$days{'Feb'}> can be written as
C<$days{Feb}> and the quotes will be assumed automatically. But
-anything more complicated in the subscript will be interpreted as
-an expression.
+anything more complicated in the subscript will be interpreted as an
+expression. This means for example that C<$version{2.0}++> is
+equivalent to C<$version{2}++>, not to C<$version{'2.0'}++>.
=head3 Version Strings