in reply to Re: Hashes or arrays in the command line
in thread Hashes or arrays in the command line

You probably also want to change
my @FILES = ('file1',' file2');
to:
my @FILES = ('file1', 'file2');
note the removal of the space in front of file2.

--tidiness is the memory loss of environmental mnemonics