What is the error you are getting? The second code is working for me. Except that you don't need Spreadsheet::ParseExcel. Because, you are not Parsing any excel files.
Also change this :
<#!/usr/bin/perl -w> to this: #!/usr/bin/perl -w. In your first code.
In reply to Re: export data from multiple files in a folder to an excel file
by Anonymous Monk
in thread export data from multiple files in a folder to an excel file
by veeru612
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |