Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: ignore list of files using readdir function

by soonix (Parson)
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...

Replies are listed 'Best First'.
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 making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2016-06-27 03:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (335 votes). Check out past polls.