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.

Reply via email to