if($diff == 'hard'){...}
That isn't right either, because it does a numeric comparison.
It should be
if($diff eq 'hard'){...}
In reply to Re^2: SImulation of an Inventory.
by Eliya
in thread SImulation of an Inventory.
by Dipseydoodle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |