Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Checking whether a value is between two limits: Useless use of private variable in void contextby Fletch (Bishop) |
on Dec 11, 2019 at 18:51 UTC ( [id://11109989]=note: print w/replies, xml ) | Need Help?? |
You've got => which is a fancy comma not the greater than or equals operator >= (see perlop). This means the second half of your if check is ... ( $value, $lower_limit ) which is why you're getting that warning.
The cake is a lie.
In Section
Seekers of Perl Wisdom
|
|