plechazunga has asked for the wisdom of the Perl Monks concerning the following question:
Well, that's what the warning sez: Modification of a read-only value attempted at C:/.../OOSheets.pm line 111.
The offending line is in &handle_char: @{$res{$curr_rec->{table}}}{ map {_11_2_A1($_)} grep {exists $sonar_cells{$_}} keys %current}.=$data ;
... and the sub invoked in that line:
sub _11_2_A1 { my $addr=shift; return $enumeration_map{$addr}; }
I'm just trying to parse an .ods file, to no avail, as I get the above message whenever I invoke GetData. The OOSheets README lists Filesys::SmbClient and Text::Iconv as dependencies, but I don't have either installed (because I don't have Samba or iconv installed, to my knowledge, on my Win7 laptop) and I can still use OpenOffice::OOSheets without perl giving me the "can't locate *.pm in @INC" abort error. Do I need to try to install either of the two applications, or is there something else I'm missing?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: OOSheets modifying read-only value
by CountZero (Bishop) on Feb 13, 2011 at 09:15 UTC | |
by plechazunga (Novice) on Feb 13, 2011 at 21:14 UTC | |
by CountZero (Bishop) on Feb 14, 2011 at 13:57 UTC | |
by plechazunga (Novice) on Feb 20, 2011 at 18:47 UTC | |
by CountZero (Bishop) on Feb 20, 2011 at 23:42 UTC | |
|