In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/aa13e525452842be4732a0b9d771f3641019dc96?hp=2273014265d740435aa2b96a9e199bf6527e276b>
- Log ----------------------------------------------------------------- commit aa13e525452842be4732a0b9d771f3641019dc96 Author: Father Chrysostomos <[email protected]> Date: Wed Dec 18 06:21:22 2013 -0800 Long verbatim lines in SDBM_File.pm M ext/SDBM_File/SDBM_File.pm commit 2bcaee201241b9f2e074ee2ca7503c9ef0bfdfe7 Author: Father Chrysostomos <[email protected]> Date: Tue Dec 17 18:06:34 2013 -0800 Document ->$#* in perlref M pod/perlref.pod commit b0e181c76b00e88422f4a2a989a0ae858df04d33 Author: Father Chrysostomos <[email protected]> Date: Tue Dec 17 18:04:58 2013 -0800 perldelta for ff25e5dbb M pod/perldelta.pod commit b47deaf5e21ffba3b7aa5623f49c856beb5a6994 Author: Father Chrysostomos <[email protected]> Date: Tue Dec 17 18:01:11 2013 -0800 perldelta todos M pod/perldelta.pod commit 346295c23a8768571669fe2dedc2d87145141d2c Author: Father Chrysostomos <[email protected]> Date: Tue Dec 17 17:53:54 2013 -0800 perldelta for ebdc88085 M pod/perldelta.pod ----------------------------------------------------------------------- Summary of changes: ext/SDBM_File/SDBM_File.pm | 6 +++--- pod/perldelta.pod | 20 ++++++++++++++++++++ pod/perlref.pod | 11 ++++++----- 3 files changed, 29 insertions(+), 8 deletions(-) diff --git a/ext/SDBM_File/SDBM_File.pm b/ext/SDBM_File/SDBM_File.pm index dcb12bc..0410bef 100644 --- a/ext/SDBM_File/SDBM_File.pm +++ b/ext/SDBM_File/SDBM_File.pm @@ -50,9 +50,9 @@ runs. Use C<SDBM_File> with the Perl built-in C<tie> function to establish the connection between the variable and the file. - tie %hash, 'SDBM_File', $basename, $modeflags, $perms; + tie %hash, 'SDBM_File', $basename, $modeflags, $perms; - tie %hash, 'SDBM_File', $dirfilename, $modeflags, $perms, $pagfilename; + tie %hash, 'SDBM_File', $dirfile, $modeflags, $perms, $pagfilename; C<$basename> is the base filename for the database. The database is two files with ".dir" and ".pag" extensions appended to C<$basename>, @@ -60,7 +60,7 @@ files with ".dir" and ".pag" extensions appended to C<$basename>, $basename.dir (or .sdbm_dir on VMS, per DIRFEXT constant) $basename.pag -The two filenames can also be given separately in full as C<$dirfilename> +The two filenames can also be given separately in full as C<$dirfile> and C<$pagfilename>. This suits for two files without ".dir" and ".pag" extensions, perhaps for example two files from L<File::Temp>. diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 8a46411..fbc67ce 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -1,5 +1,9 @@ =encoding utf8 +=for todo +0ac75573 First steps to resolving RT #120618 +09a65838 Avoid pointer churn in study_chunk recursion bitmap allocation + =head1 NAME [ this is a template for a new perldelta file. Any text flagged as XXX needs @@ -27,6 +31,12 @@ here, but most should go in the L</Performance Enhancements> section. [ List each enhancement as a =head2 entry ] +=head2 Postfix syntax for maximum array index + +The postfix notation C<< ->$#* >> has been added, to match the similar +postfix operators added in 5.19.5. C<< $foo->$#* >> is equivalent to +C<$#$foo>. See L<perlref>. + =head1 Security XXX Any security-related notices go here. In particular, any security @@ -431,6 +441,16 @@ C<< readdir() >> now only sets C<$!> on error. C<$!> is no longer set to C<EBADF> when then terminating C<undef> is read from the directory unless the system call sets C<$!>. [perl #118651] +=item * + +C<&CORE::glob> no longer causes an intermittent crash due to perl's stack +getting corrupted. [perl #119993] + +=item * + +C<open> with layers that load modules (e.g., "<:encoding(utf8)") no longer +runs the risk of crashing due to stack corruption. + =back =head1 Known Problems diff --git a/pod/perlref.pod b/pod/perlref.pod index 3f53741..6c5a7e1 100644 --- a/pod/perlref.pod +++ b/pod/perlref.pod @@ -767,11 +767,12 @@ Postfix dereference should work in all circumstances where block syntax allows dereferencing to be written and read entirely left-to-right. The following equivalencies are defined: - $sref->$*; # same as ${ $sref } - $aref->@*; # same as @{ $aref } - $href->%*; # same as %{ $href } - $cref->&*; # same as &{ $cref } - $gref->**; # same as *{ $gref } + $sref->$*; # same as ${ $sref } + $aref->@*; # same as @{ $aref } + $aref->$#*; # same as $#{ $aref } + $href->%*; # same as %{ $href } + $cref->&*; # same as &{ $cref } + $gref->**; # same as *{ $gref } Note especially that C<< $cref->&* >> is I<not> equivalent to C<< $cref->() >>, and can serve different purposes. -- Perl5 Master Repository
