In perl.git, the branch dom/doc-fixes has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/45cc06e3de6c5eed0544072a9b48f21ae63b577b?hp=6d46ab2cca742e8661fbd5a20568b8974c1cac4f>

- Log -----------------------------------------------------------------
commit 45cc06e3de6c5eed0544072a9b48f21ae63b577b
Author: Dominic Hargreaves <[email protected]>
Date:   Sat Apr 30 18:58:06 2016 +0100

    perlrun: note the existence of find's -delete switch
    
    Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776614
-----------------------------------------------------------------------

Summary of changes:
 pod/perlrun.pod | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/pod/perlrun.pod b/pod/perlrun.pod
index 1ff3ce2..e454bf8 100644
--- a/pod/perlrun.pod
+++ b/pod/perlrun.pod
@@ -706,9 +706,10 @@ at least a week:
     find . -mtime +7 -print | perl -nle unlink
 
 This is faster than using the B<-exec> switch of I<find> because you don't
-have to start a process on every filename found.  It does suffer from
-the bug of mishandling newlines in pathnames, which you can fix if
-you follow the example under B<-0>.
+have to start a process on every filename found (but it's not faster
+than using the B<-delete> switch available in newer versions of I<find>.
+It does suffer from the bug of mishandling newlines in pathnames, which
+you can fix if you follow the example under B<-0>.
 
 C<BEGIN> and C<END> blocks may be used to capture control before or after
 the implicit program loop, just as in I<awk>.

--
Perl5 Master Repository

Reply via email to