This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for glob changes
authorFather Chrysostomos <sprout@cpan.org>
Sat, 15 Dec 2012 14:54:05 +0000 (06:54 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 15 Dec 2012 14:57:49 +0000 (06:57 -0800)
pod/perldelta.pod

index e2adef7..2476ad1 100644 (file)
@@ -58,6 +58,13 @@ C<use feature>.
 This stops C<use feature ':all'> from warning, but causes
 C<my sub foo; my sub bar> to warn twice.
 
+=head2 Overridden C<glob> is now passed one argument
+
+C<glob> overrides used to be passed a magical undocumented second argument
+that identified the caller.  Nothing on CPAN was using this, and it got in
+the way of a bug fix, so it was removed.  If you really need to identify
+the caller, see L<Devel::Callsite> on CPAN.
+
 =head1 Deprecations
 
 XXX Any deprecated features, syntax, modules etc. should be listed here.  In
@@ -184,6 +191,20 @@ XXX
 
 =item *
 
+L<File::DosGlob> has been upgraded from version 1.08 to 1.09.  The internal
+cache of file names that it keeps for each caller is now freed when that
+caller is freed.  This means
+C<< use File::DosGlob 'glob'; eval 'scalar <*>' >> no longer leaks memory.
+
+=item *
+
+L<File::Glob> has been upgraded from version 1.18 to 1.19.  File::Glob has
+had exactly the same fix as File::DosGlob.  Since it is what Perl's own
+C<glob> operator itself uses (except on VMS), this means
+C<< eval 'scalar <*>' >> no longer leaks.
+
+=item *
+
 L<GDBM_File> has been upgraded from version 1.14 to 1.15. The undocumented
 optional fifth parameter to C<TIEHASH> has been removed. This was intended
 to provide control of the callback used by C<gdbm*> functions in case of
@@ -449,6 +470,10 @@ bugs.
 The previous behaviour can still be enabled by running F<Configure> with
 B<-Accflags=-DPERL_SAWAMPERSAND>.
 
+=item *
+
+PL_glob_index is gone.
+
 =back
 
 =head1 Selected Bug Fixes