develooper Front page | perl.perl5.porters | Postings from February 2013

[perl #114304] Bleadperl v5.17.2-11-g1203306 breaks DAGOLDEN/CPAN-Testers-Config-0.001.tar.gz

Thread Previous | Thread Next
From:
David Golden via RT
Date:
February 8, 2013 16:01
Subject:
[perl #114304] Bleadperl v5.17.2-11-g1203306 breaks DAGOLDEN/CPAN-Testers-Config-0.001.tar.gz
Message ID:
rt-3.6.HEAD-27190-1360339272-229.114304-15-0@perl.org
On Mon Sep 03 21:43:19 2012, sprout wrote:
> On Sat Jul 28 23:54:32 2012, andreas.koenig.7os6VVqR@franz.ak.mind.de
wrote:
> > git bisect
> > ----------
> > commit 1203306491d341ed2f463fbd53a687cff1675d65
> > Author: Chip Salzenberg <chip@pobox.com>
> > Date:   Tue Jul 24 00:39:46 2012 -0700
> > 
> >     ensure that the env var SV after C<{FOO}='x'> is PV only
> 
> Regardless of whether the module is doing something supported, is that
> change really necessary?  No other magic scalars work that way.
> 

Ricardo asked me to look into this.

The offending code seems to be:

    local $ENV{HOME} = File::Temp->newdir;

And it looks like the test is failing because the object isn't stringified.

A true environment variable would be a string.  Should a localized one
be allowed to contain an object?  I don't know.

If it *is* limited to strings, then objects must be stringified.

David



---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=114304

Thread Previous | Thread Next


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