if (-d !$dir) {doesn't make much sense. You're asking if the negation of a string is a directory. You want
or use unless as suggested above.if (! -d $dir) {
In reply to Re: Sanity Check: Debugging Help Needed!
by VSarkiss
in thread Sanity Check: Debugging Help Needed!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |