Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 rifling through the Monastery: (6)
As of 2016-07-23 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (221 votes). Check out past polls.