Package Info

perl-Method-Signatures


Method and Function Declarations with Signatures and No Source Filter


Development/Libraries/Perl

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'.


License: Artistic-1.0 or GPL-1.0+
URL: http://search.cpan.org/dist/Method-Signatures/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
20170211-bp156.3.1 info GA Release 2023-07-22 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Method-Signatures
20170211-bp155.2.8 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Method-Signatures
20170211-bp154.1.18 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Method-Signatures
20170211-bp153.1.13 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Method-Signatures
20170211-bp152.3.12 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Method-Signatures
20170211-bp151.3.1 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Method-Signatures
20170211-bp151.2.10 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Method-Signatures
20170211-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Method-Signatures