2 ms·
Perl6 has a very rich set in its spec: http://perlcabal.org/syn/S06.html#Parameters_and_arguments http://perlcabal.org/syn/S06.html#Parameters_and_arguments Th
by draegtun 17y ago
Perl6 has a very rich set in its spec: http://perlcabal.org/syn/S06.html#Parameters_and_arguments http://perlcabal.org/syn/S06.html#Parameters_and_arguments
There are a few Perl5 ports of which MooseX::Method::Signatures is probably the best implementation: http://search.cpan.org/dist/MooseX-Method-Signatures/lib/MooseX/Method/Signatures.pm http://search.cpan.org/dist/MooseX-Method-Signatures/lib/Moo...