summaryrefslogtreecommitdiff
path: root/pod/perlref.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-05-16 14:50:55 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-16 14:50:55 +0000
commitcbb3fa723f207c2682ac39fe6db5bab0af992649 (patch)
tree4698389bd90ba0f0b1516f6254f0b77c15bfa918 /pod/perlref.pod
parentdcd01700b26c2bd97302172d3d3e7a464b0ad139 (diff)
downloadperl-cbb3fa723f207c2682ac39fe6db5bab0af992649.tar.gz
Deprecate pseudo-hashes.
p4raw-id: //depot/perl@10132
Diffstat (limited to 'pod/perlref.pod')
-rw-r--r--pod/perlref.pod7
1 files changed, 7 insertions, 0 deletions
diff --git a/pod/perlref.pod b/pod/perlref.pod
index 2727e95ae9..a62276b782 100644
--- a/pod/perlref.pod
+++ b/pod/perlref.pod
@@ -538,6 +538,13 @@ string is effectively quoted.
B<WARNING>: This section describes an experimental feature. Details may
change without notice in future versions.
+B<NOTE>: The current user-visible implementation of pseudo-hashes
+(the weird use of the first array element) is deprecated starting from
+Perl 5.8.0 and will be removed in Perl 5.10.0, and the feature will be
+implemented differently. Not only is the current interface rather ugly,
+but the current implementation slows down normal array and hash use quite
+noticeably. The 'fields' pragma interface will remain available.
+
Beginning with release 5.005 of Perl, you may use an array reference
in some contexts that would normally require a hash reference. This
allows you to access array elements using symbolic names, as if they