Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Max of 23 and 27 is 23? (XS--)by tye (Sage) |
on Jul 02, 2015 at 21:18 UTC ( [id://1133019]=note: print w/replies, xml ) | Need Help?? |
The behaviour you observe is a missing SvGETMAGIC(sv) to handle such scalars. Which is pretty much to be expected with the vast majority of XS code. Which is one reason why I almost never use List::Util routines. Must use XS for "speed!". Correctness, well, that doesn't matter quite as much. - tye
In Section
Seekers of Perl Wisdom
|
|