my $file1 = 'c:\test1.xls'; my $file2 = 'c:\sample.zip'; my $file3 = $file2 || $file1; # file to attach