The documentation of File::Modified says:
my $d = File::Modified->new(files=>['Import.cfg','Export.cfg']);
The files parameter looks to me as being an array.
Why can I not directly hand over an array?
my $d = File::Modified->new(files=>@array);
This creates a runtime error.
files=>@arraywould results infiles=>'Import.cfg', 'Export.cfg'=>undef