p5-Method-Signatures-20170211nb1.tgz


Advertisement

Description

p5-Method-Signatures - Method and function declarations with signatures and no source filter

Property Value
Distribution NetBSD 7.1
Repository NetBSD amd64
Package name p5-Method-Signatures
Package version 20170211nb1
Package architecture amd64
Package type tgz
Package license gnu-gpl-v2 OR artistic
Installed size 131.21 KB
Download size 31.73 KB
Official Mirror ftp.netbsd.org
Method::Signatures 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. No more my $self = shift.
Also allows signatures, very similar to Perl 6 signatures.
Also does type checking, understanding all the types that Moose (or Mouse) would
understand.
And it does all this with no source filters.
Homepage: http://search.cpan.org/dist/Method-Signatures/
Categories: devel, perl5

Alternatives

Package Version Architecture Repository
p5-Method-Signatures-20170211nb1.tgz 20170211nb1 i386 NetBSD
p5-Method-Signatures - - -

Requires

Name Value
p5-Any-Moose >=0.11
p5-Const-Fast >=0.006
p5-Devel-Declare >=0.006002
p5-Lexical-SealRequireHints >=0.007
p5-Mouse >=0.64
p5-PPI >=1.203
p5-Sub-Name >=0.03
perl >=5.28.0<5.30.0

Download

Type URL
Binary Package p5-Method-Signatures-20170211nb1.tgz
Source Package p5-Method-Signatures

Install Howto

Install p5-Method-Signatures tgz package:

# pkg_add p5-Method-Signatures

See Also

Package Description
p5-Method-Signatures-Simple-1.07nb4.tgz Basic signatures method declarations, without source filters
p5-Mixin-ExtraFields-0.140.002nb4.tgz Perl 5 module to add extra stashes of data to your objects
p5-Mixin-ExtraFields-Param-0.021nb4.tgz Perl 5 module to make your class provide a familiar "param" method
p5-Mixin-Linewise-0.108nb4.tgz Perl 5 linewise readers and writers for strings and filenames
p5-Mo-0.40nb2.tgz Micro Objects. Mo is less
p5-Modern-Perl-1.20181021.tgz Enable all of the features of Modern Perl with one command
p5-Module-Build-0.42240nb1.tgz Build and install Perl modules
p5-Module-Build-Tiny-0.039nb4.tgz Tiny replacement for Module::Build to build and install Perl modules
p5-Module-Build-WithXSpp-0.14nb4.tgz Build and install Perl XS++ modules
p5-Module-Build-XSUtil-0.19nb1.tgz Module::Build class for building XS modules
p5-Module-CPANTS-Analyse-0.96nb4.tgz Perl5 module to generate Kwalitee ratings for a distribution
p5-Module-CPANfile-1.1004nb1.tgz Parse cpanfile
p5-Module-Compile-0.37nb1.tgz Perl Module Compilation
p5-Module-CoreList-5.20181130.tgz Perl 5 module inventorying modules shipped with core Perl
p5-Module-Dependency-1.86nb9.tgz Build perl program/module dependency graph
Advertisement
Advertisement