in reply to Re^2: Create CSV file from xlsx file
in thread Create CSV file from xlsx file
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Create CSV file from xlsx file
by viji234 (Initiate) on Oct 28, 2013 at 08:25 UTC | |
by Tux (Canon) on Oct 28, 2013 at 09:17 UTC | |
by viji234 (Initiate) on Oct 28, 2013 at 10:48 UTC | |
by Tux (Canon) on Oct 28, 2013 at 12:07 UTC | |
by viji234 (Initiate) on Oct 28, 2013 at 12:27 UTC |