I'm trying to extend Damians PBP advices for unpacking and then checking arguments using the ternary-operator ...
Icky :)
1. to have a concise pattern to replace the (alas) missing sub-signatures in perl
Sub::Signatures, Method::Signatures
2. to be follow DRY practice
3. 4. 5. to be parsable for inspection and/or POD-creation and/or IDE-expansion.
??
In reply to Re: RFC: New style for argument check in subs
by Anonymous Monk
in thread RFC: New style for argument check in subs
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |