devel/p5-Sub-Override 0.12 FreeBSD
Perl extension for easily overriding subroutines
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 12.3 KiB, 24.8 KiB installed
Description
Sub::Override allows the programmer to simply name the sub to replace and to supply a sub to replace it with.
my $override = Sub::Override->new('Some::sub', sub {'new data'});
# which is equivalent to: my $override = Sub::Override->new; $override->replace('Some::sub', sub { 'new data' });
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Sub-Override | 0.12 |
| OpenBSD | devel/p5-Sub-Override | 0.12 |
| NetBSD | devel/p5-Sub-Override | 0.12nb3 |
| DragonFly | devel/p5-Sub-Override | 0.12 |
| HardenedBSD | devel/p5-Sub-Override | 0.12 |
| GhostBSD | devel/p5-Sub-Override | 0.12 |
Install
Binary package:
pkg install p5-Sub-Override
From the ports tree:
cd /usr/ports/devel/p5-Sub-Override/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Sub-Override>0:devel/p5-Sub-Override
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.12 | 0.12 | 0.09_1 | 0.12 | 0.12 |
| FreeBSD:14:quarterly | 0.12 | 0.12 | n/a | 0.12 | 0.12 |
| FreeBSD:15:latest | 0.12 | 0.12 | n/a | 0.12 | 0.12 |
| FreeBSD:15:quarterly | 0.12 | 0.12 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.12 | 0.12 | 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.
Test 1
p5-Test-Fatal>=0.010: devel/p5-Test-Fatal
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Required by 20
- devel/p5-CommitBit
- mail/p5-Email-MIME-CreateHTML
- net/p5-Net-Amazon-S3
- sysutils/p5-Brackup
- textproc/p5-XML-Literal
- www/p5-Catalyst-Controller-HTML-FormFu
- www/p5-Catalyst-Plugin-Session-State-URI
- www/p5-FEAR-API
- www/p5-HTML-Display
- www/p5-HTML-FormFu
- www/p5-HTML-FormFu-Imager
- www/p5-HTML-FormFu-Model-DBIC
- www/p5-HTML-FormFu-MultiForm
- www/p5-HTML-LinkExtractor
- www/p5-HTML-TokeParser-Simple
- www/p5-Jifty
- www/p5-MojoMojo
- www/p5-WWW-Contact
- www/p5-WWW-DHL
- www/p5-WWW-Mechanize-Shell
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Sub::Override.3.gz
- %%SITE_PERL%%/Sub/Override.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Sub-Override-0.12.tar.gz | 9003 | d922dc6ef0e51f6385e111310845c3393be6b7a4d4ebda2a9e47c05bf62f79e3 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.