![]() |
|
Just another Perl shrine | |
PerlMonks |
Re: Dumb or Cursed?by choocroot (Friar) |
on May 23, 2002 at 19:07 UTC ( #168881=note: print w/replies, xml ) | Need Help?? |
The files you get from readdir are relative to your directory $path and -d test for files from the current directory. So, you need to specify your path in the test :
In Section
Seekers of Perl Wisdom
|
|