On 4 March 2013 19:38, David Golden <xdg@xdg.me> wrote: > On Sun, Mar 3, 2013 at 9:03 PM, James E Keenan via RT > <perlbug-followup@perl.org> wrote: >> [Data-Dumper-2.143-9VJyiY] $ perl -Iblib/lib t/bless.t > > Try 'perl -Mblib t/bless.t' > > -Iblib/lib is not sufficient because it doesn't set up the > architecture specific library correctly > > Regardless, if $Data::Dumper::Useperl is true after Data::Dumper is > loaded, tests MUST NOT override it to false to test XS. > > My opinion is that there should be one set of tests that doesn't touch > Useperl. It will be XS or pure perl depending on whether the XS > works. > > Then have another set of tests that localizes $Useperl to 1. This > tests the pure perl variation. Those tests can be skipped if $Useperl > is already 1. Unless DD has changed more than I think it is not just $Useperl that overrides XS, it is also $Useqq. Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous | Thread Next