Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How to efficiently parse "ls -a"?

by jdrago999 (Pilgrim)
on Dec 15, 2011 at 21:36 UTC ( #943837=note: print w/replies, xml ) Need Help??


in reply to How to efficiently parse "ls -a"?

What's wrong with the glob operator thing?

my $dir = '/the/path/here'; my @files = <$dir/*>;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2021-01-15 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?