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
| System | Port | Version |
|---|---|---|
| MidnightBSD | lang/p5-Switch | 2.17 |
| FreeBSD | lang/p5-Switch | 2.17_1 |
| OpenBSD | devel/p5-Switch | 2.17p0 |
| NetBSD | lang/p5-Switch | 2.17nb10 |
| DragonFly | lang/p5-Switch | 2.17_1 |
| HardenedBSD | lang/p5-Switch | 2.17_1 |
| GhostBSD | lang/p5-Switch | 2.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
p5-Filter>0: devel/p5-Filter
Runtime 1
p5-Filter>0: devel/p5-Filter
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
| File | Size | SHA256 |
|---|---|---|
| Switch-2.17.tar.gz | 14490 | 31354975140fe6235ac130a109496491ad33dd42f9c62189e23f49f75f936d75 |
Master sites 1
- CPAN