devel/p5-Syntax-Keyword-Match 0.15
Match/case syntax for Perl
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 25.7 KiB, 63.2 KiB installed
Description
Syntax::Keyword::Match provides a syntax plugin that implements a control-flow block called match/case, which executes at most one of a choice of different blocks depending on the value of its controlling expression.
This is similar to C's switch/case syntax (copied into many other languages), or syntax provided by Switch::Plain.
Install
As a binary package — by origin, or by package name:
pkg install devel/p5-Syntax-Keyword-Match
pkg install p5-Syntax-Keyword-Match
From the ports tree:
cd /usr/ports/devel/p5-Syntax-Keyword-Match/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Syntax-Keyword-Match>0:devel/p5-Syntax-Keyword-Match
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.15 | 0.15 | 0.09 | 0.15 | 0.15 |
| FreeBSD:14:quarterly | 0.15 | 0.15 | n/a | 0.15 | 0.15 |
| FreeBSD:15:latest | 0.15 | 0.15 | n/a | 0.15 | 0.15 |
| FreeBSD:15:quarterly | 0.15 | 0.15 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.15 | 0.15 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-XS-Parse-Keyword>=0.36: devel/p5-XS-Parse-Keyword
Runtime 1
p5-XS-Parse-Keyword>=0.36: devel/p5-XS-Parse-Keyword
Test 1
p5-Test-Simple>=1.302200: devel/p5-Test-Simple
The full lists below include those, and their dependencies in turn.
All build dependencies 5
All run dependencies 4
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 5
- %%SITE_ARCH%%/Syntax/Keyword/Match.pm
- %%SITE_ARCH%%/Syntax/Keyword/Match/Deparse.pm
- %%SITE_ARCH%%/auto/Syntax/Keyword/Match/Match.so
- %%PERL5_MAN3%%/Syntax::Keyword::Match.3.gz
- %%PERL5_MAN3%%/Syntax::Keyword::Match::Deparse.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Syntax-Keyword-Match-0.15.tar.gz | 34851 | 9c428f2fb55dac4ec511f69e37ceb5f367034e475b079f59cf6abb82114f5ca3 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.