Thought I might share my experience this morning in the hopes it can save others some aggravation.

I'm running Fedora 8, and after installing the daily batch of updates, Spreadsheet::ParseExcel broke with the error that weak references were not supported in this version of Perl. A little bit of poking around, and it looks like the Fedora update included an update for Perl that uses an implementation of Scalar::Util that does not support weak references.

Problematically, the version of the cpan script that I had (not sure if it was updated or not) doesn't recognize the -f option, and so you can't force the install that way. Of course, it also sees that Scalar::Util is up to date.

The solution was to enter a cpan shell, and then run force install Scalar::Util. After it rebuilt, Spreadsheet::ParseExcel seems to be running like a champ.


In reply to Rebuilding Scalar::Util after Fedora Update by starX

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.