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

Re: Check For null Arguments

by choroba (Canon)
on Mar 13, 2013 at 15:34 UTC ( #1023235=note: print w/ replies, xml ) Need Help??


in reply to Check For null Arguments

This is Perl. See perlop for details: == is used to compare numbers. Also, null has no special meaning in Perl (are you using strict?). To represent an empty string, use '', "" or q(), for undefined value, use undef.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Check For null Arguments
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2015-04-01 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (677 votes), past polls