develooper Front page | perl.perl5.porters | Postings from January 2012

[rt.cpan.org #74289] local *CORE::chmod fails with blead

From:
Father Chrysostomos via RT
Date:
January 23, 2012 22:13
Subject:
[rt.cpan.org #74289] local *CORE::chmod fails with blead
Message ID:
rt-3.8.HEAD-14877-1327385589-1342.74289-7-0@rt.cpan.org
<URL: https://rt.cpan.org/Ticket/Display.html?id=74289 >

On Mon Jan 23 17:39:50 2012, SPROUT wrote:
> On Mon Jan 23 17:30:44 2012, RURBAN wrote:
> > blead does not allow local *CORE::chmod overrides in 01-basic.t
> anymore.
> >
> > Modification of a read-only value attempted at t/01-basic.t line 622
> >
> > This fix is to use:
> >   local *chmod = sub { @chmod = @_; warn @chmod };
> 
> That’s a mistake in bleadperl.

Now fixed in commit 7e68c38b60.




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About