Path::Iterator::Rule 

use Path::Iterator::Rule;

my @files = Path::Iterator::Rule->new
              ->name('*.JPG')
              ->file()
              ->size('>2M')
              ->all(@directories_to_search);