From: Dave Mitchell <davem@fdisolutions.com>
Date: Tue, 20 Jan 2004 22:36:10 +0000 (+0000)
Subject: warn that C<$x : unique> operates on the typeglob, so affects @x
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=20fe557d070dc2b0cd21b257be02b79538cc6037;p=p5sagit%2Fp5-mst-13.2.git

warn that C<$x : unique> operates on the typeglob, so affects @x
and %x too.

p4raw-id: //depot/perl@22188
---

diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 8b13ebd..c23072b 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -3236,6 +3236,11 @@ fork() emulation on Windows platforms, or by embedding perl in a
 multi-threaded application.  The C<unique> attribute does nothing in
 all other environments.
 
+Warning: the current implementaion of this attribute operates on the
+typeglob associated with the variable; this means that C<our $x : unique>
+also has the effect of C<our @x : unique; our %x : unique>. This may be
+subject to change.
+
 =item pack TEMPLATE,LIST
 
 Takes a LIST of values and converts it into a string using the rules