if i want to display the content from 2 .XLS files in a single output file then what should i do
can any one please help?
in the below code if i want to display the conetent from both $FILE and $FILE2 then how?
------------------------------ code ----------------------------------------
Code:
print "Content-Type: application/vnd.ms-excel\n\n";
binmode(STDOUT);
if(-e "/tmp/$FILE") {
open(XLS, "/tmp/$FILE") || die("Error: $FILE no longer exists!");
binmode(XLS);
while(<XLS>) {
print $_;
}
close XLS;
unlink("/tmp/$FILE") if(-e "/tmp/$FILE");
}


