BSD Ports

lang/p5-Switch 2.17 MidnightBSD

Switch - A switch statement for Perl

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl
Categories
lang, perl5

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.

In the other systems

SystemPortVersion
MidnightBSDlang/p5-Switch2.17
FreeBSDlang/p5-Switch2.17_1
OpenBSDdevel/p5-Switch2.17p0
NetBSDlang/p5-Switch2.17nb10
DragonFlylang/p5-Switch2.17_1
HardenedBSDlang/p5-Switch2.17_1
GhostBSDlang/p5-Switch2.17_1

Install

Binary package:

mport install p5-Switch

From mports:

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

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

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

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Build dependencies 1
Run dependencies 1

No port depends on this one.

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