hey ppl,
i was able to get it out...just giving it here so that it might be useful to some ppl....
check the code given below...
$comm='perl CallExcel.pl Book1.xls';
$Arr1= array();
exec($comm,$Arr1,$op);
for($i=0;$i<count($Arr1);$i++){
echo $Arr1[$i];
echo "<br>";
}
The perl script accepts the xml filename as a command line parameter...and outputs the contents of the spreadsheet, with each line as a single sheet contents.
The output so generated is fetched into the array $Arr1.
thats that.
regs,
sachin balsekar.