Hi, I would say bad idea because not easier for users as they then have to keep track of which functions they use are liberal and which are not, and definitely not easier for maintainers.
FWIW I like Method::Signatures a lot for sub signatures and basic param validation, and it has the advantage that you can document the function with the sdame signature you use with it, and the user knows what the API is.
Hope this helps!
In reply to Re: Thoughts on "one function, flexible arguments"?
by 1nickt
in thread Thoughts on "one function, flexible arguments"?
by hornpipe2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |