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

Re: [perl #116961] Data::Dumper 2.143 tests failures on 5.10.1

Thread Previous | Thread Next
From:
Steffen Mueller
Date:
March 11, 2013 17:17
Subject:
Re: [perl #116961] Data::Dumper 2.143 tests failures on 5.10.1
Message ID:
513E1103.5000806@cpan.org
On 03/10/2013 04:15 PM, James E Keenan via RT wrote:
> I am attaching a new patch which is essentially the same as the last one
> I provided, only specific to blead rather than CPAN.  This is what
> should be reviewed for application to blead; I can provide Steffen with
> another version more specific to CPAN.

Just for the record: The only differences between core and CPAN versions 
right now are in "distribution" related files such as Makefile.PL. There 
is no actual code difference in t/ or lib/. I would feel very strongly 
inclined to renounce any involvement if the code started to diverge in 
any way. I've maintained such modules before and have generally tried 
really hard to eliminate such differences with a vengeance because they 
make maintenance a nightmare.

Therefore, if you need to have different code paths in core and on CPAN 
(and please try to avoid them if at all possible), consider using "if 
($ENV{PERL_CORE}) {} else {}". This goes for tests only. There's no 
reason -- ever -- to have the code in lib/ differ. I'm sure you agree to 
that last bit. :)

Best regards,
Steffen

PS: sorry for the delay in replying. Been travelling.

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