in reply to Re^5: Distinguish between missing and undefined arguments with subroutine signatures
in thread Distinguish between missing and undefined arguments with subroutine signatures

>     say "foo is missing" if !$foo || $foo eq MISSING;

hard to understand, if you wanna catch False you don't need missing at all. (tho I suppose you rather meant defined which is another beast )

> So, yes, I stubbornly stick to my solution.

I'm happy to agree, since I have unfortunately more urgent stuff to deal with now! :)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^6: Distinguish between missing and undefined arguments with subroutine signatures
  • Download Code