Please add these lines to the top of your code (after the shebang line, e.g. #!/path/to/perl ..., if one exists):
use strict; use warnings; use diagnostics;
Next, please read strict, warnings and diagnostics to understand why I've asked you to do this.
Next, as your knowledge of Perl seems extremely limited, please read "perlintro -- a brief introduction and overview of Perl".
Now, rerun your script and see if you can work out what that first error is. It'll now be a few lines after line 20. If you can't see the problem, go back to perlintro and compare the code there with what you've written. Keep repeating this until you've found the problem and fixed it.
You haven't shown line 50. The error message is telling you this is also a syntax problem. Attempt to fix it in the same manner.
When you've done all that, you still won't get any output because of another error. The code you added to the top of your script will tell you about this. It should be easy to fix.
-- Ken
In reply to Re^3: Create CSV file from xlsx file
by kcott
in thread Create CSV file from xlsx file
by viji234
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |