in reply to adding to an array from foreach loop
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.
|
|---|