X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperl5005delta.pod;h=6420f87fa954686b5804869ae7057679e7ce8598;hb=226de479579f4a84dd17654b44e5aef323b0a403;hp=b133c0dd813ddb9816f67972c84555f3dec5f42e;hpb=c47ff5f1a1ef5d0daccf1724400a446cd8e93573;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perl5005delta.pod b/pod/perl5005delta.pod index b133c0d..6420f87 100644 --- a/pod/perl5005delta.pod +++ b/pod/perl5005delta.pod @@ -1,6 +1,6 @@ =head1 NAME -perldelta - what's new for perl5.005 +perl5005delta - what's new for perl5.005 =head1 DESCRIPTION @@ -50,7 +50,7 @@ in a future version. Some new keywords have been introduced. These are generally expected to have very little impact on compatibility. See L keyword>, -L keyword>, and L operator>. +L keyword>, and LE> operator>. Certain barewords are now reserved. Use of these will provoke a warning if you have asked for them with the C<-w> switch. @@ -63,11 +63,15 @@ the new features in this release. =over 4 -=item Core sources now require ANSI C compiler +=item * + +Core sources now require ANSI C compiler An ANSI C compiler is now B to build perl. See F. -=item All Perl global variables must now be referenced with an explicit prefix +=item * + +All Perl global variables must now be referenced with an explicit prefix All Perl global variables that are visible for use by extensions now have a C prefix. New extensions should C refer to perl globals @@ -85,9 +89,11 @@ begin with C be referenced with a C prefix. The bare function names without the C prefix are supported with macros, but this support may cease in a future release. -See L. +See L. -=item Enabling threads has source compatibility issues +=item * + +Enabling threads has source compatibility issues Perl built with threading enabled requires extensions to use the new C macro to initialize the handle to access per-thread data. @@ -95,7 +101,7 @@ If you see a compiler error that talks about the variable C not being declared (when building a module that has XS code), you need to add C at the beginning of the block that elicited the error. -The API function C should be used instead of +The API function C should be used instead of directly accessing perl globals as C. The API call is backward compatible with existing perls and provides source compatibility with threading is enabled. @@ -139,7 +145,7 @@ Most of the Perl documentation was previously under the implicit GNU General Public License or the Artistic License (at the user's choice). Now much of the documentation unambiguously states the terms under which it may be distributed. Those terms are in general much less restrictive -than the GNU GPL. See L and the individual perl man pages listed +than the GNU GPL. See L and the individual perl manpages listed therein. =head1 Core Changes @@ -249,7 +255,7 @@ The following new syntax elements are supported: =item New operator for precompiled regular expressions -See L operator>. +See LE> operator>. =item Other improvements @@ -486,7 +492,7 @@ In previous versions, this would print "hello", but it now prints "g'bye". If C<$/> is a reference to an integer, or a scalar that holds an integer, <> will read in records instead of lines. For more info, see -L. +L>. =head1 Supported Platforms @@ -525,7 +531,7 @@ The hints files for most Unix platforms have seen incremental improvements. =head2 New Modules -=over +=over 4 =item B @@ -566,7 +572,7 @@ in perl. =item Test -A framework for writing testsuites. +A framework for writing test suites. =item Tie::Array @@ -596,13 +602,15 @@ Various pragmata to control behavior of regular expressions. =head2 Changes in existing modules -=over +=over 4 =item Benchmark You can now run tests for I seconds instead of guessing the right number of tests to run. +Keeps better time. + =item Carp Carp has a new function cluck(). cluck() warns, like carp(), but also adds @@ -654,16 +662,12 @@ subtle incompatibilities. =item CPAN -See and L. +See L and L. =item Cwd Cwd::cwd is faster on most platforms. -=item Benchmark - -Keeps better time. - =back =head1 Utility Changes @@ -702,7 +706,7 @@ L gives a tutorial on threads. =head1 New Diagnostics -=over +=over 4 =item Ambiguous call resolved as CORE::%s(), qualify as such or use & @@ -859,7 +863,7 @@ are outside the range which can be represented by integers internally. One possible workaround is to force Perl to use magical string increment by prepending "0" to your numbers. -=item Recursive inheritance detected while looking for method '%s' in package '%s' +=item Recursive inheritance detected while looking for method '%s' %s (F) More than 100 levels of inheritance were encountered while invoking a method. Probably indicates an unintended loop in your inheritance hierarchy. @@ -916,7 +920,7 @@ fix the problem can be found in L. =head1 Obsolete Diagnostics -=over +=over 4 =item Can't mktemp() @@ -960,7 +964,7 @@ because many scripts assume to find Perl in /usr/bin/perl. If you find what you think is a bug, you might check the headers of recently posted articles in the comp.lang.perl.misc newsgroup. -There may also be information at http://www.perl.com/perl/, the Perl +There may also be information at http://www.perl.com/perl/ , the Perl Home Page. If you believe you have an unreported bug, please run the B