BSD Ports

lang/p5-Switch 2.17nb10 NetBSD

Switch statement for Perl

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
gnu-gpl-v2 OR artistic
Categories
lang, perl5
Package size
14.4 KiB, 46.2 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 C<switch> and C<case> and conforming to the general pattern of existing Perl control structures. The semantics are particularly rich, allowing any one (or more) of early 30 forms of matching to be used when comparing a switch value with its various cases.

In the other systems

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

Install

Binary package:

pkgin install p5-Switch

From pkgsrc:

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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.17nb10
NetBSD 10.1 aarch642.17nb9
SmartOS / illumos x86_642.17nb10
macOS 15 arm642.17nb10

Dependencies

Run dependencies 3

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0