FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.150.150.090.150.15
FreeBSD:14:quarterly0.150.15n/a0.150.15
FreeBSD:15:latest0.150.15n/a0.150.15
FreeBSD:15:quarterly0.150.15n/an/an/a
FreeBSD:16:latest0.150.15n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 1

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
FileSizeSHA256
Syntax-Keyword-Match-0.15.tar.gz348519c428f2fb55dac4ec511f69e37ceb5f367034e475b079f59cf6abb82114f5ca3
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.