I did more checking and apparently Inline::C has
a Pegex parser which has JSON::PP as a dependency.
JSON itself calls JSON::PP so looking there at the
2.90 release, I see:

 >  #
 >  # JSON Boolean
 >  #
 >
 >  package JSON::Boolean;
 >
 >  my %Installed;
 >
 >  sub _overrride_overload {
 >      return; # this function is currently disable.
 >      return if ($Installed{ $_[0] }++);
 >
 >      my $boolean = $_[0] . '::Boolean';
 >
 >      eval sprintf(q|
 >          package %s;
 >          use overload (
 >              '""' => sub { ${$_[0]} == 1 ? 'true' : 'false' },
 >              'eq' => sub {
 >                  my ($obj, $op) = ref ($_[0]) ? ($_[0], $_[1]) : 
($_[1], $_[0]);
 >                  if ($op eq 'true' or $op eq 'false') {
 >                      return "$obj" eq 'true' ? 'true' eq $op : 
'false' eq $op;
 >                  }
 >                  else {
 >                      return $obj ? 1 == $op : 0 == $op;
 >                  }
 >              },
 >          );
 >      |, $boolean);

which may be where the error is coming from.  At
any rate, it seems not to be a PDL problem and
since there appear to be a small number of tests
with this problem, it doesn't need to hold up
the "bitrot fix" release process.

Thanks for looking,
Chris

On 5/7/2017 10:26, sisyph...@optusnet.com.au wrote:
> -----Original Message----- From: Chris Marshall
> Sent: Sunday, May 07, 2017 11:37 PM
> To: sisyph...@optusnet.com.au ; pdl-devel@lists.sourceforge.net
> Subject: Re: [Pdl-devel] Inline failures for PDL-2.017_01...more bitrot
>
>> Well, it is a mystery to me how modules we don't appear to be using 
>> are causing our tests to fail.
>
>> Is it possible that this is a problem that has been fixed by a more 
>> current version of Inline and Inline::C?  I notice that the versions 
>> I have are 0.80 and 0.76 respectively.  The test fails have 0.68 and 
>> 0.62.
>
> No, no - 0.68 and 0.62 are the minimum required, but the test fails 
> have 0.80 and 0.76 installed. (Unless my spectacles are well and truly 
> beyond their use-by date ;-)
>
> I'll send an email off to Slaven and see if he can tell us what 
> happens when a corrected version of Inline::SMITH is installed. He 
> might also be able to tell us how JSON.pm is being loaded (and why 
> it's broken).
>
> Cheers,
> Rob
>
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to