Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Return value in ternary

by ramlight (Friar)
on Mar 29, 2010 at 16:13 UTC ( [id://831653]=note: print w/replies, xml ) Need Help??


in reply to Return value in ternary

Yes, you can return undef as well as a value. You would need to do a defined test in order to differentiate between undef and false.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-03-29 11:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found