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
In reply to Re: Re: Re: A C-like brain in a Perl-like world
by tachyon
in thread A C-like brain in a Perl-like world
by cyberscribe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |