http://qs321.pair.com?node_id=11145978


in reply to Re^3: Immediately writing the results of search-and-replace
in thread Immediately writing the results of search-and-replace

G'day haukex,

I hadn't used File::Replace previously, so I thought I'd give it a go; unfortunately it failed during testing. I raised an issue: "t/11_chmod.t fails on Cygwin v5.36.0".

— Ken

Replies are listed 'Best First'.
Re^5: Immediately writing the results of search-and-replace [OT - FYI]
by haukex (Archbishop) on Aug 07, 2022 at 19:41 UTC

    Thanks very much, I'll look into this as soon as I can! The module used to have perfect tests on CPAN Testers, but unfortunately ever since I introduced File::Replace::Inplace, there have been spurious test failures. I hope this is one of those cases, and I think you'd be ok to force install the module anyway, the core functionality is quite well tested.

      There's no real urgency for me on this. I was just curious. I'll await the next version rather than forcing an install.

      I am a CPAN tester. The process didn't get far enough for a report to be generated: that may have been due to cpan hanging (as I indicated in the issue). It may be that others hit the same problem but didn't raise an issue. I note that there are no entries at all in the "cygwin" column of "CPAN Testers Matrix: File-Replace 0.14 (latest distribution)".

      Unless you have a Cygwin installation for testing, I'd be happy to help with that.

      I'd suggest moving further discussion from this OT sub-thread to a new topic.

      — Ken

Re^5: Immediately writing the results of search-and-replace [OT - FYI]
by haukex (Archbishop) on Jan 22, 2023 at 13:03 UTC
    I hadn't used File::Replace previously, so I thought I'd give it a go; unfortunately it failed during testing. I raised an issue: "t/11_chmod.t fails on Cygwin v5.36.0".

    I've finally fixed this issue! v0.18 of the module should be going up on CPAN in the next hour or so.

      No issues with installation of v0.18.

      cpan[1]> install File::Replace ... HAUKEX/File-Replace-0.18.tar.gz /usr/bin/make -- OK ... HAUKEX/File-Replace-0.18.tar.gz /usr/bin/make test -- OK ... HAUKEX/File-Replace-0.18.tar.gz /usr/bin/make install -- OK

      You should get a green swatch, in the "cygwin" column, against Perl v5.36.0, when "CPAN Testers Matrix: File-Replace 0.18" is next updated.

      — Ken