Query is how to obtain (or what to do about) a newer version of module that is now available only in perl. Short of update of perl, there is no other supported|maintained way to obtain a newer version of a module. Then the only way is to extract the files from perl distribution?.

In particular, the module is File::stat. Currently installed version is less than 1.02 which lacks -X function overloading (perl is 5.8.x). The updated version, 1.02+, of the module is not available separately on CPAN, or I failed to find one. In this case of my grep|ack like program, I dispensed with the module & thus any related caching benefits; reverted to built-in -X functions, giving them file paths instead of File::stat object. (For completeness sake I will add that the module seems to be in pure perl and the sole file could possibly be copied to achieve module upgrade, passing on any niceties of a formal upgrade. Also, I thought BSD::stat might be able to replace File::stat but then I additionally need the module to work at least on a GNU/Linux system (and possibly Cygwin).)


In reply to Obtaining newer version of a module now only in perl distribution by parv

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.