Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

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

Help for this page

Select Code to Download


  1. or download this
    $ perl -MO=Deparse -we 'use strict; my $value=1; my $lower_limit = 0;
      my $upper_limit = 2; if ( ( $value <= $upper_limit )
    ...
        print "the value is in the range!\n";
    }
    -e syntax OK
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-23 22:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found