p5-Method-Signatures-20170211.txz


Advertisement

Description

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

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest amd64
Package filename p5-Method-Signatures-20170211.txz
Package name p5-Method-Signatures
Package version 20170211
Package release -
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/Method-Signatures
License GPLv1+, ART10
Maintainer sunpoet@FreeBSD.org
Download size 46.39 KB
Installed size 135.16 KB
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 (by default). No more my $self = shift.
It also allows signatures, very similar to Perl 6 signatures.
It also does type checking, understanding all the types that Moose (or Mouse)
would understand.
And it does all this with no source filters.
WWW: https://metacpan.org/release/Method-Signatures

Alternatives

Package Version Architecture Repository
p5-Method-Signatures-20170211.txz 20170211 i386 FreeBSD Ports Quarterly
p5-Method-Signatures-20170211.txz 20170211 amd64 FreeBSD Ports Quarterly
p5-Method-Signatures-20170211.txz 20170211 i386 FreeBSD Ports Latest
p5-Method-Signatures - - -

Requires

Name Value
p5-Any-Moose = 0.26
p5-Const-Fast = 0.014_2
p5-Devel-Declare = 0.006019
p5-Lexical-SealRequireHints = 0.011
p5-Mouse = 2.5.6,1
p5-PPI = 1.236
p5-Sub-Name = 0.21,1
perl5 = 5.28.1_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-Method-Signatures-20170211.txz
Source Package devel/p5-Method-Signatures

Install Howto

Install p5-Method-Signatures txz package:

# pkg install p5-Method-Signatures

See Also

Package Description
p5-Method-Signatures-Simple-1.07_1.txz Basic method declarations with signatures, without source filters
p5-Minilla-3.0.15.txz CPAN module authoring tool
p5-Minion-9.13.txz Asynchronous job queue for Mojolicious
p5-Misc-Quality-0.1_1.txz Class for handling quality flags for astronomical objects
p5-Mixin-Event-Dispatch-2.000.txz Mixin methods for simple event/message dispatch framework
p5-Mixin-Linewise-0.108.txz Write your linewise code for handles; this does the rest
p5-Mknod-0.02_1.txz Perl module interface to the mknod(2) system call
p5-Mo-0.40,1.txz Micro Objects. Mo is less
p5-Mobile-UserAgent-1.05_1.txz Parses a mobile user agent string into its basic constituent parts
p5-Mock-Quick-1.111.txz Quickly mock objects and classes
p5-ModPerl-VersionUtil-0.03_1.txz Makes it easier to investigate your mod_perl version
p5-Modern-Perl-1.20190727.txz Enable all of the features of Modern Perl with one import
p5-Module-Build-0.4229.txz Build and install Perl modules
p5-Module-Build-Convert-0.49_3.txz Makefile.PL to Build.PL converter
p5-Module-Build-Kwalitee-0.24_1.txz Module::Build subclass with prepackaged tests
Advertisement
Advertisement