At 09:48 AM 6/30/05 -0500, Joe Discenza wrote:
>Except if $var is, say, '0.00'. Then $var + 0 is '0', and won't eq $var.

0.00 is not a valid internal representation of a number.  That can only
exist as a string.  Same goes for "1e7".  That is a print formated number,
not a valid internal number.  $var = 1e7 and print $var -> 10000000. $var =
0.00 and print $var -> 0.  If u want to include "numberish" strings then u
need some eval's to digest the various number formats.  ... if eval $var eq
$var + 0;





--
REMEMBER THE WORLD TRADE CENTER         ---=< WTC 911 >=--
"...ne cede males"

00000100

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to