X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperldelta.pod;h=0a33e3d5b5c10dad0a94ad92350bb6602da98cd9;hb=3e3318e754fa4289ad1c682811dbe6a31cd59e26;hp=06346a645bfa14c84030b39665f74de6fcb1619a;hpb=697943021785eb8447e25eb51a6f27fd78921863;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 06346a6..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 @@ -424,6 +441,10 @@ See L for further information. C to enable UTF-8 and Unicode support. +C allows modules to inherit pragmatic attributes +from the caller's context. C is currently the only supported +attribute. + Lexical warnings pragma, C, to control optional warnings. C to control the behaviour of filetests (C<-r> C<-w> ...). @@ -463,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, @@ -491,17 +520,17 @@ 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. -=head1 Configuration Changes +=head2 SOCKS support -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. +You can use "Configure -Dusesocks" which causes Perl to probe +for the SOCKS proxy protocol library, http://www.socks.nec.com/ =head1 BUGS