For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > May 2007 > Problem with Spreadsheet::ParseExcel









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem with Spreadsheet::ParseExcel
Alok Nath

2007-05-22, 7:58 am

Hi,=20
When I call "use Spreadsheet::ParseExcel" in my program I get
this error.

Weak references are not implemented in the version of perl at
C:/Perl/lib/Spreadsheet/ParseExcel.pm line 67
BEGIN failed--compilation aborted at
C:/Perl/lib/Spreadsheet/ParseExcel.pm line 67.
Compilation failed in require at Excel.pl line 5.
BEGIN failed--compilation aborted at Excel.pl line 5.


The line 67 in ParseExcel.pm contains-
use Scalar::Util qw(weaken);

I have also ensured Scalar\Util.pm is in the path.


Has anybody seen this error before ?

Is there any other module for reading excel files ?

Thanks,
Alok.
Paul Lalli

2007-05-22, 7:58 am

On May 22, 6:25 am, alok.n...@hp.com (Alok Nath) wrote:
> Hi,
> When I call "use Spreadsheet::ParseExcel" in my program I get
> this error.
>
> Weak references are not implemented in the version of perl at
> C:/Perl/lib/Spreadsheet/ParseExcel.pm line 67
> BEGIN failed--compilation aborted at
> C:/Perl/lib/Spreadsheet/ParseExcel.pm line 67.
> Compilation failed in require at Excel.pl line 5.
> BEGIN failed--compilation aborted at Excel.pl line 5.
>
> The line 67 in ParseExcel.pm contains-
> use Scalar::Util qw(weaken);
>
> I have also ensured Scalar\Util.pm is in the path.
>
> Has anybody seen this error before ?
>
> Is there any other module for reading excel files ?
>


What version of Perl are you using? That is, what does this command
return:
perl -v

If it's not some subversion of Perl 5.8, I would suggest upgrading.

Paul Lalli

Jenda Krynicky

2007-05-22, 6:59 pm

From: "Nath, Alok (STSD)" <alok.nath@hp.com>
> Hi,
> When I call "use Spreadsheet::ParseExcel" in my program I get
> this error.
>
> Weak references are not implemented in the version of perl at
> C:/Perl/lib/Spreadsheet/ParseExcel.pm line 67
> BEGIN failed--compilation aborted at
> C:/Perl/lib/Spreadsheet/ParseExcel.pm line 67.
> Compilation failed in require at Excel.pl line 5.
> BEGIN failed--compilation aborted at Excel.pl line 5.
>
>
> The line 67 in ParseExcel.pm contains-
> use Scalar::Util qw(weaken);
>
> I have also ensured Scalar\Util.pm is in the path.


What version of perl do you have??

Jenda
===== Jenda@Krynicky.cz === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery

Amdatepmarlem8

2007-05-24, 12:18 pm

a new free adult video storage!
http://www.incredible-asians-online...dicked_hard.avi
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com