Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm strugging to breakdown and understand the message as to what perl is telling me. Any help or suggestions would be gratefully received and appreciated
My Pl file is belowCan't locate Spreadsheet/ParseExcel/Simple.pm in @INC (@INC contains: +C:/Strawberry/perl/site/lib/MSWin32-x86-multi-thread C:/Strawberry/pe +rl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib .) a +t C:\perl_tests\readxls.PL line 6. BEGIN failed--compilation aborted at C:\perl_tests\readxls.PL line 6. Press any key to continue . . .
#!/usr/bin/env perl use strict; use warnings; use Spreadsheet::ParseExcel::Simple qw(); my $xls = Spreadsheet::ParseExcel::Simple->read("To_read.xls"); foreach my $sheet ($xls->sheets) { while ($sheet->has_data) { my @data = $sheet->next_row; print join "|", @data; print "\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Module location and Setup Error Message.
by marto (Cardinal) on Apr 19, 2018 at 11:48 UTC | |
by GeoPerl1877 (Initiate) on Apr 22, 2018 at 13:47 UTC | |
by marto (Cardinal) on Apr 22, 2018 at 14:05 UTC | |
|
Re: Module location and Setup Error Message.
by thanos1983 (Parson) on Apr 19, 2018 at 14:23 UTC |