summaryrefslogtreecommitdiff
path: root/pod/perl593delta.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-12-12 13:18:21 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-12-12 13:18:21 +0000
commit86bd3ff0f72010ac13cd4d60dd1f2acb3f324f47 (patch)
treed7b7e6348680589305ee8e7409d57e3e5447f817 /pod/perl593delta.pod
parent3772adb0bf4b794f3be153efc0df93324ee25620 (diff)
downloadperl-86bd3ff0f72010ac13cd4d60dd1f2acb3f324f47.tar.gz
Robin Houston points out a better way to replace
the C<defined %foo::bar::> construct. p4raw-id: //depot/perl@26328
Diffstat (limited to 'pod/perl593delta.pod')
-rw-r--r--pod/perl593delta.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perl593delta.pod b/pod/perl593delta.pod
index aec1398ae9..1c0a8fb756 100644
--- a/pod/perl593delta.pod
+++ b/pod/perl593delta.pod
@@ -20,10 +20,10 @@ a number of misparsing issues when a global C<_> subroutine is defined.
This used to report whether the C<foo::bar> package was created. Now it's
always true, as a side-effect of a change to shrink the internal size of
hash structures. Note that using C<defined> on hashes was deprecated
-anyway. To achieve the same result, you can use the following
-backwards-compatible idiom:
+anyway. To achieve the same result, you can use a symbolic reference
+instead (and this is backwards-compatible):
- defined *foo::{HASH}->{'bar::'}
+ defined %{"foo::bar::"}
=head1 Core Enhancements