Maybe the issue is that @dfiles entries already have a directory path? Use the debugging facility in your IDE to stop on the if statement and examine the contents of interesting variables, or use Perl's command line debugging or scatter diagnostic print or warn statements through your code so you can see what's going on.
Trimming your code down to the three lines needed to test just the immediate issue will help too!
In reply to Re: Word docs not setting if(-f "$var") to true
by GrandFather
in thread Word docs not setting if(-f "$var") to true
by smturner1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |