http://www.perlmonks.org?node_id=470558


in reply to Re: The weirdest problem with undef
in thread The weirdest problem with undef

Which is a quick hack the OP indeed had already found himself. Still it is nothing but byzantine logic to avoid what parameter passing is exactly for.

Ciao ciao!