BernieC has asked for the wisdom of the Perl Monks concerning the following question:
and when I try to open the spreadsheet with 'getWB("D:myexcel.xlsx")' I getsub getWB { my ($dir, $excel) = $_[0] =~ /(.*)\/(.*)/ ; my $xs = Excel::Table->new(dir => $dir) ; $xs->open($excel) ; return $xs ; }
Any advice at what I'm missing/getting wrong? ThanksLog4perl: Seems like no initialization happened. Forgot to call init() +? no such path [D:\myexcel.xslx] at D:\Perl\spreadsheet.pl line 55.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help with Excel::Table
by Athanasius (Archbishop) on Sep 25, 2020 at 15:08 UTC | |
by BernieC (Pilgrim) on Sep 25, 2020 at 20:19 UTC | |
by Athanasius (Archbishop) on Sep 26, 2020 at 09:10 UTC | |
by BernieC (Pilgrim) on Sep 26, 2020 at 11:34 UTC | |
by Tux (Canon) on Sep 26, 2020 at 12:40 UTC | |
|
Re: Help with Excel::Table
by Tux (Canon) on Sep 26, 2020 at 11:23 UTC | |
|
Re: Help with Excel::Table
by toolic (Bishop) on Sep 25, 2020 at 23:59 UTC |