[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Fun with infinity




On Tuesday, June 26, 2001, at 04:25 PM, Bart Lateur wrote:

>
> I think the consensus was that it all depends on your linked in C
> library.
>

Indeed, I had a lot of fun teasing my colleagues with the puzzle of why 
"infoworld" == "informix". Everyone thought it was because strings are 0 
in numeric context, but then I showed that "infoworld" != "bobby". Hah, 
they fell for it!

At least, on my (linux) platform with 5.6.1 and 5.6.0 these things are 
true. However, on Cygwin with 5.6.1 "infoworld" == "bobby" because "inf" 
is not special there. Pity this is not more portable, it's very 
convenient when illustrating sorting algorithms.

ira

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe