Re: maint-5.10-1531-ga5f97a6 on VMS status

Paul Fenwick <[email protected]>
Newsgroups gmane.comp.lang.perl.perl5.porters,gmane.comp.lang.perl.ports.vms
Organization Perl Training Australia
Message-ID <[email protected]>
G'day Craig / All,

Craig A. Berry wrote:

> So likely we have an incompatible exit value on File::Copy, but I don't
> know offhand why autodie cares about that.  Needs looking into.

It doesn't *really* care, those tests are verifying that File::Copy returns
what we expect, so that if any of the later tests fail, we know that
something is wrong.

However the documentation for File::Copy states for "RETURN":

       All functions return 1 on success, 0 on failure.

So it *should* be returning 0 if we're to be following what the docs say.

I can patch autodie to skip this test on VMS, or we can patch File::Copy to
return 0 rather than "" on failure.  I believe that cherry-picking
079cb8cc5abf40c0b016f9f878493b4d192d85d3 into maint-5.10 should do this.

For the CPAN version of autodie, I'll get it to always skip this test on
releases before 5.10.1.

Cheerio,

	Paul

-- 
Paul Fenwick <[email protected]> | http://perltraining.com.au/
Director of Training                   | Ph:  +61 3 9354 6001
Perl Training Australia                | Fax: +61 3 9354 2681
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.