in reply to Sanity Check: Debugging Help Needed!
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) {
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Sanity Check: Debugging Help Needed!
by Anonymous Monk on Aug 27, 2003 at 17:57 UTC |