Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 cooling their heels in the Monastery: (4)
As of 2015-05-07 04:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (154 votes), past polls