Subject: | support for optional arguments |
After reading your blog post [1] I tried to use it instead of Params::Validate (so not for attributes but function parameters parsing). However, Type::Tiny doesn't seem to be able to support optional parameters. I tried severral types, but it insist on the argument to exist, even if set to undef.
Does Type::Tiny already supports optional parameters ? (positional especially), and if not, can it be added ? Thanks
[1] http://blogs.perl.org/users/toby_inkster/2013/05/typetiny---not-just-for-attributes.html