Spreadsheet-ParseExcel - Weak references are not implemented ... ParseExcel.pm line 67

Posted on Wed Nov 7 17:59:05 2007 by roby
Weak references are not implemented ... ParseExcel.pm line 67
Weak references are not implemented in the version of perl at<BR/usr/lib/perl5/site_perl/5.8.5/Spre +adsheet/ParseExcel.pm line 67 BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/Spreadsheet/ParseExcel.pm line +67.
Apparantly RedHat pushed out a security update last night, and now I'm getting this error in any script that uses Spreadsheet::ParseExcel. Line 67 contains: use Scalar::Util qw(weaken); and is used in the new declaration right after:
sub new { my ($class, %rhIni) = @_; my $self = \%rhIni; weaken $self->{_Book}; $self->{Cells}=undef; $self->{DefColWidth}=8.38; bless $self, $class; }
I just had to read up on what weak references are. I've never worked with them. Is there a patch or any sort of workaround? Any help is appreciated. Thanks, Rob
Direct Responses: 7154 | 7155 | Write a response