http://qs321.pair.com?node_id=977948


in reply to Re: SImulation of an Inventory.
in thread SImulation of an Inventory.

if($diff == 'hard'){...}

That isn't right either, because it does a numeric comparison.

It should be

if($diff eq 'hard'){...}