diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-03-27 14:20:41 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-03-27 14:20:41 -0700 |
commit | 370ff23e44afd5d970c19583f13d392c37188c85 (patch) | |
tree | 1e3b0ca78a87d39155dca1ce79f4f4323d0ea1f3 /pod | |
parent | 6369b34f2e369e50bbbfbe95e1d9405c94e92649 (diff) | |
download | perl-370ff23e44afd5d970c19583f13d392c37188c85.tar.gz |
perldelta: correct wording about globs
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldelta.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index e6105bb7f3..12ca3ae5ec 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -639,9 +639,9 @@ allows subsequent assignments to C<$glob> to overwrite the glob. The original glob, however, is immutable. -Many Perl operators did not distinguish between these two types of globs. +Some Perl operators did not distinguish between these two types of globs. This would result in strange behaviour in edge cases: C<untie $scalar> -would do nothing if the last thing assigned to the scalar was a glob +would not untie the scalar if the last thing assigned to it was a glob (because it treated it as C<untie *$scalar>, which unties a handle). Assignment to a glob slot (e.g., C<*$glob = \@some_array>) would simply assign C<\@some_array> to C<$glob>. |