in reply to Re: Existing module for PerlX::Maybe except for hash existence?
in thread Existing module for PerlX::Maybe except for hash existence?
Both are saying "The caller does not provide a defined value", but there is no hint why you need two different ways to say that
My guess is that it's the difference "the caller does not have/want a value for this" and "the caller forgot to specify the value"
Take one example: A program called SchrödingersCat needs a command line flag to specify if the cat is alive or dead. But when called with a value of "undef", the caller provides a valid value of "we don't know if the cat is alive or dead". See Tom Scott's video on Null Island: The Busiest Place That Doesn't Exist
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Existing module for PerlX::Maybe except for hash existence?
by haj (Vicar) on Feb 24, 2025 at 17:53 UTC | |
Re^3: Existing module for PerlX::Maybe except for hash existence?
by ikegami (Patriarch) on Feb 24, 2025 at 18:44 UTC |