Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: greater efficiency required (ls, glob, or readdir?)

by jwkrahn (Monsignor)
on Aug 27, 2008 at 21:03 UTC ( #707306=note: print w/replies, xml ) Need Help??


in reply to Re^2: greater efficiency required (ls, glob, or readdir?)
in thread greater efficiency required (ls, glob, or readdir?)

You need to change: next if -d $file; to next if -d "$dir/$file";

You need to change: next if /^#/ || !length($line); to next if $line =~ /^#/ || !length($line);

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2020-11-28 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?