devel/p5-Types-Core 0.3.2 FreeBSD
Core types defined as tests and literals
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 22.2 KiB, 47.5 KiB installed
Description
Types::Core provides syntax symplifier for type checking. It allows easy, non-quoted usage of types as literals, and allows the standard type names to be used as true/false check routines of references.
For the most basic functions, they take either 0 or 1 arguments. If 1 parameter, then they test it to see if the ref is of the given type (blessed or not). If false, undef is returned, of true, the ref, itself is returned.
For no args, they return literals of themselves, allowing the named strings to be used as Literals without quotes.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Types-Core | 0.3.2 |
| DragonFly | devel/p5-Types-Core | 0.3.2 |
Install
Binary package:
pkg install p5-Types-Core
From the ports tree:
cd /usr/ports/devel/p5-Types-Core/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Types-Core>0:devel/p5-Types-Core
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 | 0.3.2 | 0.3.2 | 0.3.2 | 0.3.2 | 0.3.2 |
| FreeBSD:14:quarterly | 0.3.2 | 0.3.2 | n/a | 0.3.2 | 0.3.2 |
| FreeBSD:15:latest | 0.3.2 | 0.3.2 | n/a | 0.3.2 | 0.3.2 |
| FreeBSD:15:quarterly | 0.3.2 | 0.3.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.3.2 | 0.3.2 | 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 2
p5-Xporter>=0.0.8: devel/p5-Xporterp5-mem>=0.4.5: devel/p5-mem
Runtime 2
p5-Xporter>=0.0.8: devel/p5-Xporterp5-mem>=0.4.5: devel/p5-mem
The full lists below include those, and their dependencies in turn.
Build dependencies 3
Run dependencies 3
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Types/Core.pm
- %%PERL5_MAN3%%/Types::Core.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Types-Core-0.3.2.tar.gz | 20179 | 5667342b398e3cae035be856b56353dcc38d4941d0b225b41ba79513341b7752 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.