Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: ignore list of files using readdir function

by soonix (Curate)
on Jul 23, 2013 at 08:45 UTC ( #1045797=note: print w/ replies, xml ) Need Help??


in reply to Re^2: ignore list of files using readdir function
in thread ignore list of files using readdir function

The first

my @files = readdir DIR;
in your code is superfluous. You are doing the work (at least the reading of the directory) twice. Might not account for the whole excess time, but maybe...


Comment on Re^3: ignore list of files using readdir function
Download Code
Re^4: ignore list of files using readdir function
by kaka_2 (Acolyte) on Jul 23, 2013 at 08:57 UTC

    Sorry. but that is commented, i dont know where the # gone

    .  # my @files = readdir DIR;

    -KAKA-

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2014-10-22 04:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (112 votes), past polls