Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Perl Program to efficiently process 500000 small files in a Directory (AIX)

by rminner (Chaplain)
on Mar 17, 2018 at 07:11 UTC ( #1211103=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use File::Slurp; # Update: or use File::Slurper which Athanasius menti
    +oned.
    
    ...
    }
    closedir(DIR);
    
  2. or download this
    use strict;
    use warnings;
    ...
            closedir $DH or die "Failed to close directory handle for '$di
    +r' ($!)\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1211103]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2021-04-19 22:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?