From: Tim Bunce Date: Wed, 11 Jun 1997 00:00:00 +0000 (+1200) Subject: 5.004 removed deprecated %OVERLOAD support silently X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=906cf63ea784f7cfe0090539e4befe7829bb6a2b;p=p5sagit%2Fp5-mst-13.2.git 5.004 removed deprecated %OVERLOAD support silently Reported-by: Jonathan Biggar p5p-msgid: 199705232319.QAA28388@clamp.netlabs.com --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 9c85450..4c94482 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -19,6 +19,13 @@ cannot be built there, for lack of a reasonable command interpreter. Most importantly, many bugs were fixed, including several security problems. See the F file in the distribution for details. +=head2 List assignment to %ENV works + +C<%ENV = ()> and C<%ENV = @list> now work as expected (except on VMS +where it generates a fatal error). + +=head2 "Can't locate Foo.pm in @INC" error now lists @INC + =head2 Compilation option: Binary compatibility with 5.003 There is a new Configure question that asks if you want to maintain @@ -84,6 +91,13 @@ non-methods. The simple fix for old code is: In any module that used to depend on inheriting C for non-methods from a base class named C, execute C<*AUTOLOAD = \&BaseClass::AUTOLOAD> during startup. +=head2 Previously deprecated %OVERLOAD is no longer usable + +Using %OVERLOAD to define overloading was deprecated in 5.003. +Overloading is now defined using the overload pragma. %OVERLOAD is +still used internally but should not be used by Perl scripts. See +L for more details. + =head2 Subroutine arguments created only when they're modified In Perl 5.004, nonexistent array and hash elements used as subroutine