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

Re: Help Me Please!

by IraTarball (Monk)
on Aug 06, 2001 at 18:58 UTC ( #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
Node Status?
node history
Node Type: note [id://102471]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2019-05-26 20:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (153 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!