in reply to Re: Re: A C-like brain in a Perl-like world
in thread A C-like brain in a Perl-like world
Hey good point! "0.0" is only zero if you force an eval on it one way or another. These are interesting:
print "0.0 is == 0\n" if "0.0" == 0; $string_zero = "0.0"; print "True" if $string_zero; print "True" if eval $string_zero;
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
---|