sri1230 has asked for the wisdom of the Perl Monks concerning the following question:
Can someone tell me why it wont work. I am trying to get all the empty files or files that match a pattern and dont end in txt prn or csv
my @SrcFiles = grep {-z or /($SrcPattern)(?<!txt|prn|csv)$/} readdir(DIR)