BSD Ports

lang/p5-Switch 2.17_1 DragonFly

Switch statement for Perl

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
lang, perl5
Package size
18.0 KiB, 41.3 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]>

In the other systems

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

Install

Binary package:

pkg install p5-Switch

From DPorts:

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

Dependencies

Run dependencies 2