Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Checking whether a value is between two limits: Useless use of private variable in void context

by Perlbotics (Archbishop)
on Dec 11, 2019 at 18:54 UTC ( [id://11109990]=note: print w/replies, xml ) Need Help??


in reply to Checking whether a value is between two limits: Useless use of private variable in void context

( $value => $lower_limit )
is somewhat like
( $value , $lower_limit )
which is essentially
( $lower_limit )
making $value irrelevant. You don't need the fat comma => but the greater or equal operator >= .

Replies are listed 'Best First'.
Re^2: Checking whether a value is between two limits: Useless use of private variable in void context
by Bloehdian (Beadle) on Dec 11, 2019 at 18:59 UTC

    Oh my dear! Nasty typo.

    Hm, at least I learned new terms: "fat comma" and "fancy comma"

    THX to all

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-03-28 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found