Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: incorrect results

by ptum (Priest)
on Apr 30, 2007 at 18:26 UTC ( #612825=note: print w/replies, xml ) Need Help??


in reply to incorrect results

Well, it isn't very easy to see what your problem is, without a little more code and some decent <code> tag formatting. Taking a wild guess, though, I'd say you might try 'eq' when comparing your parameters, since they seem to be string values. As it is, you're comparing their numerical value with '=='.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2021-10-24 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?