in reply to How to read contents of directory into an array?
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
|
|---|