# get the names if any @files = grep -e, glob $pattern; #### # do any exist? if (grep -e, glob $pattern) {...