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

Re: Strings/Numbers aren't equating properly

by dave_the_m (Monsignor)
on Feb 21, 2018 at 23:37 UTC ( #1209705=note: print w/replies, xml ) Need Help??


in reply to Strings/Numbers aren't equating properly

you've got your == and eq the wrong way round. When $mid's an int, you're using eq and vice-versa

Dave.

  • Comment on Re: Strings/Numbers aren't equating properly

Replies are listed 'Best First'.
Re^2: Strings/Numbers aren't equating properly
by M4ver1k (Novice) on Feb 21, 2018 at 23:56 UTC
    hahahaha Well that's funny, my bad. I fixed that, but still have the same results. Thanks for taking the time to poke at it.

      Please show the updated code that produces the same problematic results.

        I had edited the original post to fix it there. I also have since figured out the issue, and edited the original post with what I fixed. But it was flawed logic on my part. Thanks for taking the time to look at the post.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2019-07-24 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (32 votes). Check out past polls.

    Notices?