diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-26 13:37:30 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-26 13:37:30 +0000 |
commit | 51d2bbcca5d4cebbfa5f145c68787d3b7bdd42c4 (patch) | |
tree | 30b990307210c8856c37be02ae9c2effaa4bd3ae /pod/perlfunc.pod | |
parent | ab1f959bb53d40da3eaa07810c732b8715a8ba17 (diff) | |
download | perl-51d2bbcca5d4cebbfa5f145c68787d3b7bdd42c4.tar.gz |
Doc patch for #10959.
p4raw-id: //depot/perl@10961
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r-- | pod/perlfunc.pod | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 67c305ca6b..bb0c195d5f 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -3000,7 +3000,7 @@ with it. B<WARNING>: This is an experimental feature that may be changed or removed in future releases of Perl. It should not be relied upon. -The only currently recognized attribute is C<shared> which indicates +The only currently recognized attribute is C<unique> which indicates that a single copy of the global is to be used by all interpreters should the program happen to be running in a multi-interpreter environment. (The default behaviour would be for each interpreter to @@ -3008,13 +3008,13 @@ have its own copy of the global.) In such an environment, this attribute also has the effect of making the global readonly. Examples: - our @EXPORT : shared = qw(foo); - our %EXPORT_TAGS : shared = (bar => [qw(aa bb cc)]); - our $VERSION : shared = "1.00"; + our @EXPORT : unique = qw(foo); + our %EXPORT_TAGS : unique = (bar => [qw(aa bb cc)]); + our $VERSION : unique = "1.00"; Multi-interpreter environments can come to being either through the fork() emulation on Windows platforms, or by embedding perl in a -multi-threaded application. The C<shared> attribute does nothing in +multi-threaded application. The C<unique> attribute does nothing in all other environments. =item pack TEMPLATE,LIST |