devel/p5-Syntax-Keyword-Match 0.15 MidnightBSD
Match/case syntax for Perl
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl+
- Categories
- devel, perl5
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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/p5-Syntax-Keyword-Match | 0.15 |
| FreeBSD | devel/p5-Syntax-Keyword-Match | 0.15 |
| OpenBSD | devel/p5-Syntax-Keyword-Match | 0.15p0 |
| NetBSD | devel/p5-Syntax-Keyword-Match | 0.15nb3 |
| DragonFly | devel/p5-Syntax-Keyword-Match | 0.15 |
| HardenedBSD | devel/p5-Syntax-Keyword-Match | 0.15 |
| GhostBSD | devel/p5-Syntax-Keyword-Match | 0.15 |
Install
Binary package:
mport install p5-Syntax-Keyword-Match
From mports:
cd /usr/mports/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
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
Build dependencies 1
Run dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 16
- %%PERL5_MAN3%%/Syntax::Keyword::Match::Deparse.3.gz
- %%PERL5_MAN3%%/Syntax::Keyword::Match.3.gz
- %%SITE_PERL%%/Syntax/Keyword/Match.pm
- %%SITE_PERL%%/Syntax/Keyword/Match/Deparse.pm
- %%SITE_PERL%%/auto/Syntax/Keyword/Match/Match.so
- @dir
- @dir %%SITE_PERL%%/man
- @dir %%SITE_PERL%%/Syntax/Keyword/Match
- @dir %%SITE_PERL%%/Syntax/Keyword
- @dir %%SITE_PERL%%/Syntax
- @dir %%SITE_PERL%%/auto/Syntax/Keyword/Match
- @dir %%SITE_PERL%%/auto/Syntax/Keyword
- @dir %%SITE_PERL%%/auto/Syntax
- @dir %%SITE_PERL%%/auto
- @dir
- @dir lib/perl5
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Syntax-Keyword-Match-0.15.tar.gz | 34851 | 9c428f2fb55dac4ec511f69e37ceb5f367034e475b079f59cf6abb82114f5ca3 |
Master sites 1
- CPAN