Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by jwkrahn (Abbot)
on Aug 27, 2008 at 18:07 UTC ( [id://707243]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $dir = '/Path/to/a/data/directory';
    
    ...
        }
    }
    
  2. or download this
        while ( my $line = <$FH> ) {
            next if $line =~ /^#/ || $line !~ /\S/;
    ...
            $hash{ $file }{ $key } = \@values;
        }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-20 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found