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
In reply to Re: Help Me Please!
by IraTarball
in thread How to read contents of directory into an array?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |