FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.020.02-0.020.02
FreeBSD:14:quarterly0.020.02n/a-0.02
FreeBSD:15:latest0.020.02n/a0.020.02
FreeBSD:15:quarterly0.020.02n/an/an/a
FreeBSD:16:latest0.020.02n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

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
FileSizeSHA256
Feature-Compat-Defer-0.02.tar.gz14208c39f3de1aa6c9f070e25b36f2c49edede58b8e19743bb46689651bd30795207e
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.