* demerphq <demerphq@gmail.com> [2009-12-28 13:20]: > Actually there are two schools of thought on this one. > > Which is "correct" is arguable/debatable. It’s only arguable in practice, because the available solutions all suck in different ways. There is however no inherent reason for solutions to suck. Scalar::Util could contain a routine that does the desired check correctly, making it shorter to write than any of the alternatives. And if the core provided a way to install XSUBs as ops, then the right way could even be faster than the broken way. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>Thread Previous | Thread Next