Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Check For null Arguments

by choroba (Abbot)
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 drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2014-12-22 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (113 votes), past polls