Frankly with Inf, it's probably a good thing if your code doesn't treat two infinite values as being equal.
my $x = 6**6**6; # Inf my $y = 7**7**7; # Inf print "equal\n" if $x==$y; # says "equal" even though mathematically +they are not
In reply to Re^4: IF condition with a range (updated)
by tobyink
in thread IF condition with a range
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |