Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Return value in ternary

by ramlight (Friar)
on Mar 29, 2010 at 16:13 UTC ( #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? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2022-08-08 08:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?