devel/p5-Feature-Compat-Defer 0.02
Provide a new syntax keyword, defer, in a forward-compatible way
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10
- Categories
- devel, perl5
- Package size
- 8.3 KiB, 12.6 KiB installed
Description
This module provides a new syntax keyword, defer, in a forward-compatible way.
The latest perl development source provides a defer block syntax, under the defer named feature. If all goes well, this will become available at development version 5.35.4, and included in the 5.36 release. On such perls, this module simply enables that feature.
defer {
STATEMENTS...
}
The defer keyword introduces a block which runs its code body at the time that its immediately surrounding code block finishes.
Install
As a binary package — by origin, or by package name:
pkg install devel/p5-Feature-Compat-Defer
pkg install p5-Feature-Compat-Defer
From the ports tree:
cd /usr/ports/devel/p5-Feature-Compat-Defer/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Feature-Compat-Defer>0:devel/p5-Feature-Compat-Defer
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.02 | 0.02 | - | 0.02 | 0.02 |
| FreeBSD:14:quarterly | 0.02 | 0.02 | n/a | - | 0.02 |
| FreeBSD:15:latest | 0.02 | 0.02 | n/a | 0.02 | 0.02 |
| FreeBSD:15:quarterly | 0.02 | 0.02 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.02 | 0.02 | 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.
Runtime 1
p5-Module-Build>0: devel/p5-Module-Build
The full lists below include those, and their dependencies in turn.
All build dependencies 2
All run dependencies 2
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Feature/Compat/Defer.pm
- %%PERL5_MAN3%%/Feature::Compat::Defer.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Feature-Compat-Defer-0.02.tar.gz | 14208 | c39f3de1aa6c9f070e25b36f2c49edede58b8e19743bb46689651bd30795207e |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.