Gee, this really looks bad.# ... else { # print "not enought files to count\n"; } } } print "total files in $total\n"; };
Formatting and especially indenting your code correctly is not optional, it is a necessity. The compiler might not care, but the human reader does.
In reply to Re: adding to an array from foreach loop
by Laurent_R
in thread adding to an array from foreach loop
by flieckster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |