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'){...}
In Section
Seekers of Perl Wisdom
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'){...}