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.
In Section
Seekers of Perl Wisdom
in reply to Return value in ternary