in reply to Does a file really exist?

If you just want a warning, then change the push if -e line to..
if -e $file { push @array, $file; } else { warn "$file does not exist\n"; }
If you want to process such a list later, push the items into a second array:
if -e $file { push @array, $file; } else { push @not_found, $file; }

Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain