Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Anonymous hash warning

by r34d0nl1 (Pilgrim)
on Jan 28, 2005 at 12:51 UTC ( #425932=note: print w/replies, xml ) Need Help??


in reply to Anonymous hash warning

Pls, create a dumper of the variables you are using.
Would be easier to try to identify what is happening once that perl is smart enough
to find when a variable is an in integer or string context.

Replies are listed 'Best First'.
Re^2: Anonymous hash warning
by kprasanna_79 (Hermit) on Jan 28, 2005 at 15:53 UTC
    Hai r34d0n11
    i am sure its integer, still perl doesnt allow me to use '=='
    to compare values in this case only.

      What exactly to you mean when you say:

      perl doesnt allow me to use '==' to compare values in this case only.

      What exactly did you ask perl to do and what exactly did it say in response.

      What do you mean it in the phrase:

      i am sure its integer

      Do you mean "id" (as in the two chaacter string consisting of the letter 'i' and the letter 'd')? That's not an integer.

        value stored in id is integer, but cant i use '==' thr, thats wat my question is...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2019-10-16 20:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?