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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.17_1 | 2.17_1 | 2.17_1 | 2.17_1 | 2.17_1 |
| FreeBSD:14:quarterly | 2.17_1 | 2.17_1 | n/a | 2.17_1 | 2.17_1 |
| FreeBSD:15:latest | 2.17_1 | 2.17_1 | n/a | 2.17_1 | 2.17_1 |
| FreeBSD:15:quarterly | 2.17_1 | 2.17_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.17_1 | 2.17_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-Filter>0: devel/p5-Filter
Runtime 1
p5-Filter>0: devel/p5-Filter
The full lists below include those, and their dependencies in turn.
All build dependencies 2
All run dependencies 2
Required by 16
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
| File | Size | SHA256 |
|---|---|---|
| Switch-2.17.tar.gz | 14490 | 31354975140fe6235ac130a109496491ad33dd42f9c62189e23f49f75f936d75 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.