From: Gurusamy Sarathy Date: Mon, 13 Mar 2000 20:43:30 +0000 (+0000) Subject: mention changes to diagnostics X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a398b1cd0bdedce6ed56d94672826be8f84db2f8;p=p5sagit%2Fp5-mst-13.2.git mention changes to diagnostics p4raw-id: //depot/perl@5709 --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index bb93b19..711b87f 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -1160,6 +1160,19 @@ Unrecognized alphabetic escapes encountered when parsing quote constructs now generate a warning, since they may take on new semantics in later versions of Perl. +Many diagnostics now report the internal operation in which the warning +was provoked, like so: + + Use of uninitialized value in concatenation (.) at (eval 1) line 1. + Use of uninitialized value in print at (eval 1) line 1. + +Diagnostics that occur within eval may also report the file and line +number where the eval is located, in addition to the eval sequence +number and the line number within the evaluated text itself. For +example: + + Not enough arguments for scalar at (eval 4)[newlib/perl5db.pl:1411] line 2, at EOF + =head1 Performance enhancements =head2 Simple sort() using { $a <=> $b } and the like are optimized