Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Populating an array with contents of a directory.

by Zaxo (Archbishop)
on Apr 09, 2004 at 16:30 UTC ( [id://343945]=note: print w/replies, xml ) Need Help??


in reply to Populating an array with contents of a directory.

glob or readdir, for example:

my $dir = '/path/to'; my @names = glob "$dir/*";

After Compline,
Zaxo

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-19 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found