X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperldelta.pod;h=0a33e3d5b5c10dad0a94ad92350bb6602da98cd9;hb=3e3318e754fa4289ad1c682811dbe6a31cd59e26;hp=3f2214a98759b7ae5783fc0d3edd5751243d6151;hpb=43165c0500446fb6e4a036657f82b50e22c886e0;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 3f2214a..0a33e3d 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -95,7 +95,8 @@ scope. See L for more information. =head2 Lexically scoped warning categories You can now control the granularity of warnings emitted by perl at a finer -level using the C pragma. See L for details. +level using the C pragma. See L and L +for details. =head2 Binary numbers supported @@ -142,6 +143,11 @@ behaviour of: remains unchanged. See L. +=head2 POSIX character class syntax [: :] supported + +For example to match alphabetic characters use /[[:alpha:]]/. +See L for details. + =head2 Improved C operator The C operator is now evaluated at compile time into a true list @@ -229,6 +235,13 @@ was attempted. This mostly eliminates confusing buffering mishaps suffered by users unaware of how Perl internally handles I/O. +=head2 Better diagnostics on meaningless filehandle operations + +Constructs such as CFHE)> and CFHE)> +are compile time errors. Attempting to read from filehandles that +were opened only for writing will now produce warnings (just as +writing to read-only filehandles does). + =head1 Supported Platforms =over 4 @@ -254,6 +267,10 @@ GNU/Hurd is now supported. Rhapsody is now supported. +=item * + +EPOC is is now supported (on Psion 5). + =back =head1 New tests @@ -467,23 +484,31 @@ A tutorial on managing class data for object modules. by Perl. This combination appears in an interpolated variable or a C<'>-delimited regular expression. -=item Unrecognized escape \\%c passed through +=item Filehandle %s opened only for output -(W) You used a backslash-character combination which is not recognized -by Perl. +(W) You tried to read from a filehandle opened only for writing. If you +intended it to be a read-write filehandle, you needed to open it with +"+E" or "+E" or "+EE" instead of with "E" or nothing. If +you intended only to read from the file, use "E". See +L. =item Missing command in piped open (W) You used the C or C construction, but the command was missing or blank. -=item defined(@array) is deprecated (and not really meaningful) +=item Unrecognized escape \\%c passed through + +(W) You used a backslash-character combination which is not recognized +by Perl. + +=item defined(@array) is deprecated (D) defined() is not usually useful on arrays because it checks for an undefined I value. If you want to see if the array is empty, just use C for example. -=item defined(%hash) is deprecated (and not really meaningful) +=item defined(%hash) is deprecated (D) defined() is not usually useful on hashes because it checks for an undefined I value. If you want to see if the hash is empty, @@ -495,11 +520,18 @@ Todo. =head1 Configuration Changes +=head2 installusrbinperl + You can use "Configure -Uinstallusrbinperl" which causes installperl to skip installing perl also as /usr/bin/perl. This is useful if you prefer not to modify /usr/bin for some reason or another but harmful because many scripts assume to find Perl in /usr/bin/perl. +=head2 SOCKS support + +You can use "Configure -Dusesocks" which causes Perl to probe +for the SOCKS proxy protocol library, http://www.socks.nec.com/ + =head1 BUGS If you find what you think is a bug, you might check the headers of