Port details on branch 2022Q3 |
- p5-Method-Signatures Method and function declarations with signatures and no source filter
- 20170211 devel =0 20170211Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2017-11-12 19:10:07
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Method-Signatures
- Description:
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Method-Signatures>0:devel/p5-Method-Signatures
- To install the port:
- cd /usr/ports/devel/p5-Method-Signatures/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Method-Signatures
- pkg install p5-Method-Signatures
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Method-Signatures
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1510457723
SHA256 (Method-Signatures-20170211.tar.gz) = 891a7c4bb23240871a50faffa1544a9c54450b776662f489fe0dbc0fad22c4e5
SIZE (Method-Signatures-20170211.tar.gz) = 83637
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Any-Moose>=0.11 : devel/p5-Any-Moose
- p5-Const-Fast>=0.006 : devel/p5-Const-Fast
- p5-Devel-Declare>=0.006002 : devel/p5-Devel-Declare
- p5-Lexical-SealRequireHints>=0.008 : devel/p5-Lexical-SealRequireHints
- p5-Mouse>=0.64 : devel/p5-Mouse
- p5-PPI>=1.203 : textproc/p5-PPI
- p5-Sub-Name>=0.03,1 : devel/p5-Sub-Name
- perl5>=5.32.r0<5.33 : lang/perl5.32
- p5-Module-Build>=0.4206 : devel/p5-Module-Build
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-Any-Moose>=0.11 : devel/p5-Any-Moose
- p5-Const-Fast>=0.006 : devel/p5-Const-Fast
- p5-Devel-Declare>=0.006002 : devel/p5-Devel-Declare
- p5-Lexical-SealRequireHints>=0.008 : devel/p5-Lexical-SealRequireHints
- p5-Mouse>=0.64 : devel/p5-Mouse
- p5-PPI>=1.203 : textproc/p5-PPI
- p5-Sub-Name>=0.03,1 : devel/p5-Sub-Name
- perl5>=5.32.r0<5.33 : lang/perl5.32
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Method-Signatures
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|