Hi Dirk80

I've tried to install the module on my windows. You have to modify several places if you want to pass all tests(and maybe use it on windows ;))
  1. modify test as choroba 's suggestion. Re: Installing of CPAN::Checksums 2.14 is not working
  2. the author use rename to move dir, sadly, it doesn't work on windows rename, so you have to replace rename with File::Copy::move or others( both on pm and t files)
  3. the author think \n is one byte, but it's 2 bytes on windows actually, so test for size of file 2 would be failed. maybe you should skip this test on windows
  4. delete the dir created by previously test manually, before you test again, otherwise the test will be failed. (when all tests passed, those dir will be deleted by tests. As Tux point out, inserting a rmtree statement at last is not a good idea.




I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction


In reply to Re: Installing of CPAN::Checksums 2.14 is not working by xiaoyafeng
in thread Installing of CPAN::Checksums 2.14 is not working by Dirk80

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.