Based on what you posted, this:
push @files , grep { -f && -s >= $min_size && -s <= $max_size "$d +/$_" } read_dir($d);
becomes:
push @files , map { "$d/" . $_} grep { -f && ( -s >= $min_size) && (- +s <= $max_size) } read_dir($d); #this is untested.
In reply to Re: Get file min and max size help!
by blue_cowdawg
in thread Get file min and max size help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |