Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-10-02 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (55 votes), past polls