FreeBSD Ports

lang/p5-Switch 2.17_1

Switch statement for Perl

Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
lang, perl5
Package size
18.6 KiB, 41.1 KiB installed

Description

Switch.pm provides the syntax and semantics for an explicit case mechanism for Perl. The syntax is minimal, introducing only the keywords switch and case and conforming to the general pattern of existing Perl control structures. The semantics are particularly rich, allowing any one (or more) of nearly 30 forms of matching to be used when comparing a switch value with its various cases.

-Anton <[email protected]>

Install

As a binary package — by origin, or by package name:

pkg install lang/p5-Switch
pkg install p5-Switch

From the ports tree:

cd /usr/ports/lang/p5-Switch/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Switch>0:lang/p5-Switch

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:latest2.17_12.17_12.17_12.17_12.17_1
FreeBSD:14:quarterly2.17_12.17_1n/a2.17_12.17_1
FreeBSD:15:latest2.17_12.17_1n/a2.17_12.17_1
FreeBSD:15:quarterly2.17_12.17_1n/an/an/a
FreeBSD:16:latest2.17_12.17_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

All build dependencies 2
All run dependencies 2

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Switch.pm
  • %%PERL5_MAN3%%/Switch.3.gz
distinfo 1
FileSizeSHA256
Switch-2.17.tar.gz1449031354975140fe6235ac130a109496491ad33dd42f9c62189e23f49f75f936d75
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.