Change 34850 by [EMAIL PROTECTED] on 2008/11/16 19:41:58
Integrate:
[ 34822]
POD markup fix
[ 34825]
Some deprecated warnings were also in the syntax category
(one of them was spotted by Abigail.)
Plus, document the undocumented warning
"Use of comma-less variable list is deprecated"
[ 34830]
Fix error message label
(noticed by Abigail)
[ 34834]
Various patches added to RT #21568 from [EMAIL PROTECTED]
[ 34840]
TODO for fixing lvalue subs in the debugger is now to-done. Pointed
out by Florian Ragwitz.
[ 34843]
Add Tom Wyant to AUTHORS.
Affected files ...
... //depot/maint-5.10/perl/AUTHORS#7 integrate
... //depot/maint-5.10/perl/pod/perldebguts.pod#2 integrate
... //depot/maint-5.10/perl/pod/perldiag.pod#5 integrate
... //depot/maint-5.10/perl/pod/perlfunc.pod#12 integrate
... //depot/maint-5.10/perl/pod/perltodo.pod#17 integrate
Differences ...
==== //depot/maint-5.10/perl/AUTHORS#7 (text) ====
Index: perl/AUTHORS
--- perl/AUTHORS#6~34557~ 2008-10-22 03:48:20.000000000 -0700
+++ perl/AUTHORS 2008-11-16 11:41:58.000000000 -0800
@@ -891,6 +891,7 @@
Tom Hughes <[EMAIL PROTECTED]>
Tom Phoenix <[EMAIL PROTECTED]>
Tom Spindler <[EMAIL PROTECTED]>
+Tom Wyant
Ton Hospel
Tony Bowden <[EMAIL PROTECTED]>
Tony Camas
==== //depot/maint-5.10/perl/pod/perldebguts.pod#2 (text) ====
Index: perl/pod/perldebguts.pod
--- perl/pod/perldebguts.pod#1~32694~ 2007-12-22 01:23:09.000000000 -0800
+++ perl/pod/perldebguts.pod 2008-11-16 11:41:58.000000000 -0800
@@ -154,6 +154,7 @@
of an C<o ...> debugger command (q.v. in L<perldebug/Options>).
=head3 Debugger internal variables
+
In addition to the file and subroutine-related variables mentioned above,
the debugger also maintains various magical internal variables.
==== //depot/maint-5.10/perl/pod/perldiag.pod#5 (text) ====
Index: perl/pod/perldiag.pod
--- perl/pod/perldiag.pod#4~34269~ 2008-09-05 05:18:53.000000000 -0700
+++ perl/pod/perldiag.pod 2008-11-16 11:41:58.000000000 -0800
@@ -1597,7 +1597,7 @@
expression that contains the C<(?{ ... })> zero-width assertion, which
is unsafe. See L<perlre/(?{ code })>, and L<perlsec>.
-=item %s: Eval-group not allowed at run time
+=item %s: Eval-group not allowed at runtime, use re 'eval'
(F) Perl tried to compile a regular expression containing the
C<(?{ ... })> zero-width assertion at run time, as it would when the
@@ -4661,8 +4661,13 @@
=item Use of bare << to mean <<"" is deprecated
-(D deprecated) You are now encouraged to use the explicitly quoted form
-if you wish to use an empty line as the terminator of the here-document.
+(D deprecated, W syntax) You are now encouraged to use the explicitly quoted
+form if you wish to use an empty line as the terminator of the here-document.
+
+=item Use of comma-less variable list is deprecated
+
+(D deprecated, W syntax) The values you give to a format should be
+separated by commas, not just aligned on a line.
=item Use of chdir('') or chdir(undef) as chdir() deprecated
@@ -4711,8 +4716,8 @@
=item Use of implicit split to @_ is deprecated
-(D deprecated) It makes a lot of work for the compiler when you clobber
-a subroutine's argument list, so it's better if you assign the results
+(D deprecated, W syntax) It makes a lot of work for the compiler when you
+clobber a subroutine's argument list, so it's better if you assign the results
of a split() explicitly to an array (or list).
=item Use of inherited AUTOLOAD for non-method %s() is deprecated
==== //depot/maint-5.10/perl/pod/perlfunc.pod#12 (text) ====
Index: perl/pod/perlfunc.pod
--- perl/pod/perlfunc.pod#11~34533~ 2008-10-20 09:11:30.000000000 -0700
+++ perl/pod/perlfunc.pod 2008-11-16 11:41:58.000000000 -0800
@@ -2846,7 +2846,7 @@
=item m//
-The match operator. See L<perlop>.
+The match operator. See L<perlop/"Regexp Quote-Like Operators">.
=item map BLOCK LIST
X<map>
@@ -4767,7 +4767,7 @@
=item s///
-The substitution operator. See L<perlop>.
+The substitution operator. See L<perlop/"Regexp Quote-Like Operators">.
=item say FILEHANDLE LIST
X<say>
@@ -5512,7 +5512,7 @@
If you had the entire header of a normal Unix email message in $header,
you could split it up into fields and their values this way:
- $header =~ s/\n\s+/ /g; # fix continuation lines
+ $header =~ s/\n(?=\s)//g; # fix continuation lines
%hdrs = (UNIX_FROM => split /^(\S*?):\s*/m, $header);
The pattern C</PATTERN/> may be replaced with an expression to specify
@@ -6665,7 +6665,8 @@
=item tr///
-The transliteration operator. Same as C<y///>. See L<perlop>.
+The transliteration operator. Same as C<y///>. See
+L<perlop/"Quote and Quote-like Operators">.
=item truncate FILEHANDLE,LENGTH
X<truncate>
@@ -7415,6 +7416,7 @@
=item y///
-The transliteration operator. Same as C<tr///>. See L<perlop>.
+The transliteration operator. Same as C<tr///>. See
+L<perlop/"Quote and Quote-like Operators">.
=back
==== //depot/maint-5.10/perl/pod/perltodo.pod#17 (text) ====
Index: perl/pod/perltodo.pod
--- perl/pod/perltodo.pod#16~34533~ 2008-10-20 09:11:30.000000000 -0700
+++ perl/pod/perltodo.pod 2008-11-16 11:41:58.000000000 -0800
@@ -952,11 +952,6 @@
The old perltodo notes that lvalue functions don't work for list or hash
slices. This would be good to fix.
-=head2 LVALUE functions in the debugger
-
-The old perltodo notes that lvalue functions don't work in the debugger. This
-would be good to fix.
-
=head2 regexp optimiser optional
The regexp optimiser is not optional. It should configurable to be, to allow
End of Patch.