Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Populating an array with contents of a directory.

by fletcher_the_dog (Friar)
on Apr 09, 2004 at 18:31 UTC ( #343985=note: print w/replies, xml ) Need Help??


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

Try 'readdir' in list context:
opendir(DIR,"/home"); my @array = readdir(DIR);

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2021-09-22 06:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?