Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by Perlbotics (Bishop)
on Dec 11, 2019 at 18:54 UTC ( #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 >= .

  • Comment on Re: Checking whether a value is between two limits: Useless use of private variable in void context
  • Select or Download Code

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? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2022-05-29 11:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?