Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: "undef" is not NULL and what to do about it

by salva (Monsignor)
on Feb 20, 2013 at 17:22 UTC ( #1019810=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ( $salary < $threshold ) {
        increase_salary( $employee, 3_000);
    ...
    else {
        decrease_salary( $employee, 3_000);
    }
    
  2. or download this
    unless ($salary > $threshold) {
        increase_salary( $employee, 3_000);
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2014-07-30 03:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls