And noticed that while if I changed $value>10 to $value>=10 it ran it as "less than or equal to", but if I changed it to $value=>10 it kept running into the negative thousands.$value=15; do{ print "$value\n"; $value=$value-1; } while($value>10);
In reply to Syntax discrepancy? by Andrew_Levenson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |