(-----O-----) *hug*
Thank you a lot for the help, this seems to work. It prints some extra information if there are some folders in the folder I am looking at but it also prints all the files
This is what I got:
".aptitude, .bashrc, ssh22.pl(one of the files), .cache, .., .bash_history, test.txt(the other file), TestAddDir(the directory in the directory that I am listing), .viminfo, .profile, .debtags, ."
If you can't be bothered I can probably figure out how to remove these other things that are shown.
| [reply] |
look at the other fields on the hash returned by $dh->read, they probably contain enough information to let you filter out non file entries.
| [reply] [d/l] |