This is how I'd go about it: https://gist.github.com/andrewsolomon/323a2b317ea5903f662fbaaded254798
"exists" is true if there's a key in a hash even if the key's value is undef. Does that provide a solution for you, or are there other constraints? On Sun, Nov 19, 2017 at 4:57 PM, hw <h...@gc-24.de> wrote: > > Hi, > > without being able to use feature 'signatures', how do I verify > that parameters passed to a function have been passed to it by > the caller? > > A test for undef is not sufficient because the value passed to a > function may be undef itself, and I need to be able to distinguish > between the parameter having been passed (and is undef) and the > parameter not having been passed at all. > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > > -- Andrew Solomon Mentor@Geekuni http://geekuni.com/ http://www.linkedin.com/in/asolomon