Push is used like so:
push @array, $var1, $var2, $var3, ...;Therefore, @newfiles = (@newfiles,$file); should be push @newfiles, $file;
In reply to Re^2: Stat and file size
by Anonymous Monk
in thread Stat and file size
by Ormus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |