in reply to SImulation of an Inventory.
"..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..
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: SImulation of an Inventory.
by Eliya (Vicar) on Jun 23, 2012 at 08:06 UTC | |
by 2teez (Vicar) on Jun 24, 2012 at 17:51 UTC |
In Section
Seekers of Perl Wisdom