If this is an accurate copy-and-paste, you're replacing rather than adding to $totalfiles: my $totalfiles =+ $numfiles; Should be: $totalfiles += $numfiles; Also, don't my it in the loop, do it beforehand.
HTH
In reply to Re: unix file permissions? or perhaps something that will make me look silly...
by VSarkiss
in thread unix file permissions? or perhaps something that will make me look silly...
by lief
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |