That's actually what I'd expect. List::Utils is full of XS code. XS code almost always gets simple things wrong. It almost never handles mundane Perl magic like overloading, which is what bigint.pm is a simple demonstration of.
List::Util comes with non-XS implementations of at least most of its routines and those should have no problems with bigint values. Or you could just write your own 'max' in about 1 or 2 lines of Perl code.
- tye
In reply to Re: List::Utils can't find max in array of BigInts (XS--)
by tye
in thread List::Utils can't find max in array of BigInts
by mgatto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |