Welcome to the Monastery.
in reply to writing into a excel sheet using perl
To get started with your project, you should install the Spreadsheet::WriteExcel module.
You can do that by running the following command at your command prompt:
Depending on your OS, and flavour and version of Perl, You may run into issues that will require more research, and other items (such as a version of 'make') to be installed.
cpan -i Spreadsheet::WriteExcel
"By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."