in reply to Re^2: Deferencing a hash
in thread Grep on a list of files in directory

Yes. Grep looks for the value in $_, which are filenames that end in .xml .