p5-Sub-Override-0.09_1.txz


Advertisement

Description

p5-Sub-Override - Perl extension for easily overriding subroutines

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Quarterly amd64
Package filename p5-Sub-Override-0.09_1.txz
Package name p5-Sub-Override
Package version 0.09
Package release 1
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/Sub-Override
License GPLv1+, ART10
Maintainer perl@FreeBSD.org
Download size 9.53 KB
Installed size 18.14 KB
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' });
WWW: https://metacpan.org/release/Sub-Override

Alternatives

Package Version Architecture Repository
p5-Sub-Override-0.09_1.txz 0.09 i386 FreeBSD Ports Quarterly
p5-Sub-Override-0.09_1.txz 0.09 amd64 FreeBSD Ports Latest
p5-Sub-Override-0.09_1.txz 0.09 i386 FreeBSD Ports Latest
p5-Sub-Override - - -

Requires

Name Value
perl5 = 5.28.1_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-Sub-Override-0.09_1.txz
Source Package devel/p5-Sub-Override

Install Howto

Install p5-Sub-Override txz package:

# pkg install p5-Sub-Override

See Also

Package Description
p5-Sub-Prototype-0.03.txz Set a sub's prototype
p5-Sub-Quote-2.006006.txz Efficient generation of subroutines via string eval
p5-Sub-Signatures-0.21_2.txz Use proper signatures for subroutines, including dispatching
p5-Sub-Uplevel-0.2800.txz Appear to run a function in a higher stack frame
p5-Sub-WrapPackages-2.01.txz Add pre- and post-execution wrappers
p5-Subtitles-1.04_1.txz Perl5 backend for fix subtitles timing
p5-Sudo-0.33_1.txz Perl extension for running a command line sudo
p5-Switch-2.17_1.txz Switch - A switch statement for Perl
p5-Symbol-Get-0.08.txz Read Perls symbol table programmatically
p5-Symbol-Global-Name-0.05_1.txz Finds name and type of a global variable
p5-Symbol-Util-0.0203_1.txz Additional utils for Perl symbols manipulation
p5-Syntax-Highlight-Engine-Kate-0.14.txz Port of the syntax highlight engine of the Kate texteditor
p5-Syntax-Highlight-HTML-0.04_1.txz Syntax::Highlight::HTML - Highlight HTML syntax
p5-Syntax-Highlight-Perl-Improved-1.01_1.txz Syntax highlighting for Perl code
p5-Syntax-Highlight-Shell-0.04_1.txz Syntax::Highlight::Shell - Highlight shell scripts
Advertisement
Advertisement