summaryrefslogtreecommitdiff
path: root/pod/perltrap.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-05-14 07:00:02 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-05-14 07:00:02 +0000
commita3cb178b0bad32fa8be934503d051b96a3cb1fea (patch)
treebb5ab9c595a9158c059710be33d4e5ff619bf3fc /pod/perltrap.pod
parent43051805d53a3e4c5b2185a17655cab5bedc17ed (diff)
downloadperl-a3cb178b0bad32fa8be934503d051b96a3cb1fea.tar.gz
[win32] merge changes#872,873 from maintbranch
p4raw-link: @873 on //depot/maint-5.004/perl: 990f469d529b62458be38e8659885fd26d353629 p4raw-link: @872 on //depot/maint-5.004/perl: 0b85608df162729d39cb0f96c9f88c7de0a3ceab p4raw-id: //depot/win32/perl@935
Diffstat (limited to 'pod/perltrap.pod')
-rw-r--r--pod/perltrap.pod12
1 files changed, 4 insertions, 8 deletions
diff --git a/pod/perltrap.pod b/pod/perltrap.pod
index 02abc3b03b..9d861e3ae5 100644
--- a/pod/perltrap.pod
+++ b/pod/perltrap.pod
@@ -757,15 +757,11 @@ variable is localized subsequent to the assignment
# perl4 prints: This is Perl 4
# perl5 prints:
- # Another example
-
- *fred = *barney; # fred is aliased to barney
- @barney = (1, 2, 4);
- # @fred;
- print "@fred"; # should print "1, 2, 4"
+=item * (Globs)
- # perl4 prints: 1 2 4
- # perl5 prints: In string, @fred now must be written as \@fred
+Assigning C<undef> to a glob has no effect in Perl 5. In Perl 4
+it undefines the associated scalar (but may have other side effects
+including SEGVs).
=item * (Scalar String)