Lyle Kopnicky wrote: > Thanks folks. I think I'll go with looks_like_number from > Scalar::Util. I like to use library routines where possible. I don't > know how I overlooked that, since I poked through Scalar::Util earlier. > > It just seems bizarre to me that something like that isn't a builtin. I > mean, you can't even tell strings from numbers? I'm used to working in > strongly typed languages.
If you always are careful to put things away that you know what they are, it's not necessary. IE: before you store some external piece of data - determine exactly what it is and format it in a manner that you don't have bother worrying about later. So when something first arrives in a vrbl, that's the time to get it into a strict format so you needn't worry about it later. -- ,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED] (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/ -/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff) _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs