Skip Menu |

This queue is for tickets about the Scalar-List-Utils CPAN distribution.

Report information
The Basics
Id: 80525
Status: rejected
Priority: 0/
Queue: Scalar-List-Utils

People
Owner: Nobody in particular
Requestors: fraserbn [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Howdy, There's a minor incompatibility between the XS and PP versions of Scalar::Util: $ perl -MScalar::Util=looks_like_number -wle 'sub { &looks_like_number && print $_[0] }->(1)' 1 $ perl -MScalar::Util::PP=looks_like_number -wle 'sub { &looks_like_number && print $_[0] }->(1)' Use of uninitialized value in print at -e line 1. This is because the PP version shifts @_. Would be really swell if that could be mended!
On Wed Oct 31 11:18:34 2012, Hugmeir wrote: Show quoted text
> Howdy, > > There's a minor incompatibility between the XS and PP versions of > Scalar::Util:
I think this may relate to an older version of Scalar-List-Utils. The current version requires XS to build, and no longer provides a PP fallback implementation. leo@cel:~/src/perl/Scalar-List-Utils [git] $ find -name *.pm ./lib/Scalar/Util.pm ./lib/List/Util/XS.pm ./lib/List/Util.pm -- Paul Evans