in reply to cannot create excel file.

I would strongly suggest reading a few books on Perl. You're trying to build a house without plans.

That said, type the following at your shell:

perl -MCPAN -e shell install Spreadsheet::WriteExcel exit

That should do the trick.

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose