Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: undef vs 0

by TheDamian (Priest)
on Feb 07, 2003 at 17:17 UTC ( #233528=note: print w/ replies, xml ) Need Help??


in reply to undef vs 0

Yet another solution:

my ($value) = grep defined, getConfigValue( "use_foo" ), 1;


Comment on Re: undef vs 0
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-12-18 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (41 votes), past polls