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?


In reply to OOSheets modifying read-only value by plechazunga

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.