On Fri, Apr 12, 2002 at 12:10:45PM -0700, Jeff Zucker wrote: > > > I've never used neat(), but if it's useful, maybe it needs another way to be > > told whether a value is a number.
The neat function is specifically intended for human consumption (see docs) and especially for use in debugging the internals of drivers that do use the internal state of the scalar variables as a hint about the type. But since pure-perl scripts can't normally tell "2" from 2, I don't really see much need for pure-perl neat() to do so. But since it's done, and portable, and it sounds like it's cheap, I'm happy for it to be included :) Thanks! > As a matter of fact, I will certainly be using your patch > in SQL::Statement to test for number/string when I add type-checking. Why would you need it? [getting off topic here, maybe start a new thread] That's possibly not a good idea. Or at least one to be treated with caution. Tim.
