Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: SImulation of an Inventory.

by Eliya (Vicar)
on Jun 23, 2012 at 08:06 UTC ( [id://977948]=note: print w/replies, xml ) Need Help??


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'){...}

Replies are listed 'Best First'.
Re^3: SImulation of an Inventory.
by 2teez (Vicar) on Jun 24, 2012 at 17:51 UTC

    Oops! Thanks Eliya for catching that, you are right !

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://977948]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2025-06-23 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.