"..What am I doing wrong?"
Several! Please, use use strict; you will catch some.
In your if statements you assign. I think what you intended was
if($diff == 'hard'){...}
You also have several barewords in your code..
In reply to Re: SImulation of an Inventory.
by 2teez
in thread SImulation of an Inventory.
by Dipseydoodle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |