You want to have two times the same condition:
However you are changing the things you check due to the post-increment (++). Suspicious, isn't it? ;-)if -d $File::Find::name && !$seen{$_}++;
Hint: remove the ++ in the first line ...
HTH, RataIn reply to Re: How to push and print at the same time?
by Ratazong
in thread How to push and print at the same time?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |