Hi i am using the following code to read and display the .XLS file content.
if i want to display the content from $FILE and $FILE2 at same time ...then how can i merge the two files data and display that data..? can any one please help?
print "Content-Type: application/vnd.ms-excel\n\n";
if(-e "/tmp/$FILE") {
open(XLS, "/tmp/$FILE") || die("Error: $FILE no longer exists!");
while(<XLS>) {
print $_;
close XLS;
unlink("/tmp/$FILE") if(-e "/tmp/$FILE");