From cb1a09d0194fed9b905df7b04a4bc031d354609d Mon Sep 17 00:00:00 2001 From: Andy Dougherty Date: Thu, 21 Dec 1995 00:01:16 +0000 Subject: This is patch.2b1g to perl5.002beta1. cd to your perl source directory, and type patch -p1 -N < patch.2b1g This patch is just my packaging of Tom's documentation patches he released as patch.2b1g. Patch and enjoy, Andy Dougherty doughera@lafcol.lafayette.edu Dept. of Physics Lafayette College, Easton PA 18042 --- pod/perltrap.pod | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'pod/perltrap.pod') diff --git a/pod/perltrap.pod b/pod/perltrap.pod index cfe964270c..79e3ae5ca9 100644 --- a/pod/perltrap.pod +++ b/pod/perltrap.pod @@ -4,13 +4,9 @@ perltrap - Perl traps for the unwary =head1 DESCRIPTION -The biggest trap of all is forgetting to use the B<-w> switch; -see L. Making your entire program runnable under - - use strict; - -can help make your program more bullet-proof, but sometimes -it's too annoying for quick throw-away programs. +The biggest trap of all is forgetting to use the B<-w> switch; see +L. The second biggest trap is not making your entire program +runnable under C. =head2 Awk Traps @@ -361,6 +357,14 @@ for $_ itself (and @_, etc.). =item * +Double-colon is now a valid package separator in an identifier. Thus these +behave differently in perl4 vs. perl5: + + print "$a::$b::$c\n"; + print "$var::abc::xyz\n"; + +=item * + C now does no interpolation on either side. It used to interpolate C<$lhs> but not C<$rhs>. -- cgit v1.2.1