in reply to Re: RFC: New style for argument check in subs
in thread RFC: New style for argument check in subs
Complicated hashslices are for most of my colleagues completely out of scope.
As far as I understand your code, everything which doesn't have a default-value must be ignored?
I think you have a special understanding of "optional".
UPDATE: But I think I could use this approach for personal use. :)
Unfortunately you don't show compatible way to check positional arguments.
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: RFC: New style for argument check in subs
by BrowserUk (Patriarch) on Sep 05, 2012 at 13:34 UTC | |
by LanX (Saint) on Sep 05, 2012 at 13:45 UTC | |
|
Re^3: RFC: New style for argument check in subs
by Anonymous Monk on Sep 05, 2012 at 15:02 UTC | |
by BrowserUk (Patriarch) on Sep 05, 2012 at 15:18 UTC |