Steve Simmons wrote: > > IMHO the code > > $a = '3.14'; # from reading a file > $b = '3.1400'; # from user input > if ($a == $b) { ... } > > should see the two args being tested in numeric context, do the numeric > casting, get floats, and do a floating compare. Durned if I know what it > does now. It does exactly that. Perl is dwimmy that way. Perl->rules(@things), -ok; -- John Porter We're building the house of the future together.
- Re: ... as a term Jarkko Hietaniemi
- Re: ... as a term Damian Conway
- Re: ... as a term Larry Wall
- Re: ... as a term Jonathan Scott Duff
- Re: ... as a term John Porter
- Re: ... as a term Larry Wall
- Re: ... as a term John Porter
- Re: ... as a term Jonathan Scott Duff
- Re: ... as a term John Porter
- Re: Do we really need eq? Steve Simmons
- Re: Do we really need eq? John Porter
- Re: Do we really need eq? David L. Nicol
- Re: Do we really need eq? Peter Scott
- Re: Do we really need eq? Tom Christiansen
- Re: Do we really need eq? Andy Dougherty
- attributes definable as well as value... David L. Nicol
- Re: Do we really need eq? Dan Sugalski
- RE: Do we really need eq? Lipscomb, Al
- Re: Do we really need eq? Nathan Wiger
- RE: Do we really need eq? Fisher Mark
- Re: Do we really need eq? David L. Nicol