Source Package: perl-Method-Signatures (20170211-bp156.3.1)
Method and Function Declarations with Signatures and No Source Filter
Provides two new keywords, 'func' and 'method', so that you can write subroutines with signatures instead of having to spell out 'my $self = shift; my($thing) = @_' 'func' is like 'sub' but takes a signature where the prototype would normally go. This takes the place of 'my($foo, $bar) = @_' and does a whole lot more. 'method' is like 'func' but specifically for making methods. It will automatically provide the invocant as '$self' (by default). No more 'my $self = shift'.
Package information
- Homepage
- [http://search.cpan.org/dist/Method-Signatures/]
- License
- Artistic-1.0 or GPL-1.0+
- Maintainer del pacchetto downstream
- Sconosciuto: non segnalato nella fonte indicizzata
The following binary packages are built from this source package:
- perl-Method-Signatures
Method and Function Declarations with Signatures and No Source Filter
