Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by salva (Abbot)
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?
[1nickt]: Petroza can you go back in your browser to the preview screen, redact the links, and try to submit again?
[LanX]: copy and paste the text into your Petroza's scratchpad please
[Petroza]: yes I'll do that. instead of the url I'll write "link"
[LanX]: darn my pc is restarting for updates

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-10-17 15:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (233 votes). Check out past polls.

    Notices?