Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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.