Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Useless use of private variable in void contextby SuicideJunkie (Vicar) |
on Jun 22, 2010 at 21:17 UTC ( [id://845965]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|