in reply to Re: selcting a specific file
in thread selcting a specific file

@files = grep { -s and -f} @files;

I personally believe that this is fine, but to avoid a double stat one would better

@files = grep { -s and -f _} @files;

Of course it would be nice to also have chained -X's, and IIRC 5.10 has them.