Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Useless use of private variable in void context

by SuicideJunkie (Vicar)
on Jun 22, 2010 at 21:17 UTC ( [id://845965]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Useless use of private variable in void context
in thread Useless use of private variable in void context

I think the confusion here is that the OP's $tiu => $min && $tiu < $max is equivalent to $tiu, $min && $tiu < $max.

What was intended, on the other hand is almost certainly $tiu >= $min && $tiu < $max

Key issue: >= is very different from =>. The former compares numerically. The latter is a fancy way to say comma.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-03-29 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found