BSD Ports

devel/p5-Class-Hook 0.06 FreeBSD

Add hooks on methods from other classes

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
12.9 KiB, 47.6 KiB installed

Description

Class::Hook enables you to trace methods calls from your code to other classes.

Instead of putting 'use Foo;' in your code, simply type 'use Class::Hook;'. The class Foo is unknown in your code. It will be magically caught by Class::Hook which will call Foo itself. You can see Class::Hook as a kind of relay.

You can setup a subroutine to be called before any call to Foo->amethod and a subroutine to be called after the call. Your subs will receive all the information that Foo->amethod will receive, so you can trace everything between your code and Foo.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Class-Hook0.06
DragonFlydevel/p5-Class-Hook0.06
HardenedBSDdevel/p5-Class-Hook0.06
GhostBSDdevel/p5-Class-Hook0.06

Install

Binary package:

pkg install p5-Class-Hook

From the ports tree:

cd /usr/ports/devel/p5-Class-Hook/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Class-Hook>0:devel/p5-Class-Hook

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.060.060.060.060.06
FreeBSD:14:quarterly0.060.06n/a0.060.06
FreeBSD:15:latest0.060.06n/a0.060.06
FreeBSD:15:quarterly0.060.06n/an/an/a
FreeBSD:16:latest0.060.06n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

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%%/Class/Hook.pm
  • %%PERL5_MAN3%%/Class::Hook.3.gz
distinfo 1
FileSizeSHA256
Class-Hook-0.06.tar.gz1205635ac3401e9c12dff8800f1098a6535cd8f31a39b7ff7641fe19ee24c56812c83
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.