Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Help Me Please!

by IraTarball (Monk)
on Aug 06, 2001 at 18:58 UTC ( [id://102471]=note: print w/replies, xml ) Need Help??


in reply to How to read contents of directory into an array?

You might find glob() usefull. Or maybe it's alias <*>. This let's you get the current directory contents with something like:
my @dir = <*>;

You can use the glob() function to get the contents of a directory other than the current directory.

Have a look at perldoc -f glob for more info.

Ira,

"So... What do all these little arrows mean?"
~unknown

Log In?
Username:
Password:

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

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

    No recent polls found