Sub::Install - install subroutines into packages easily River stage four • 91 direct dependents • 7045 total dependents

This module makes it easy to install subroutines into packages without the unsightly mess of "no strict" or typeglobs lying about where just anyone can see them....

RJBS/Sub-Install-0.928 - 26 Jun 2014 22:59:10 UTC

Sub::Op - Install subroutines as opcodes. River stage zero No dependents

This module provides a C and Perl API for replacing subroutine calls by custom opcodes. This has two main advantages : * it gets rid of the overhead of a normal subroutine call ; * there's no symbol table entry defined for the subroutine. Subroutine ...

VPIT/Sub-Op-0.02 - 08 Jan 2010 21:37:06 UTC

Sub::Util - A selection of utility subroutines for subs and CODE references River stage five • 3860 direct dependents • 31394 total dependents

"Sub::Util" contains a selection of utility subroutines that are useful for operating on subs and CODE references. The rationale for inclusion in this module is that the function performs some work for which an XS implementation is essential because ...

PEVANS/Scalar-List-Utils-1.55 - 12 Apr 2020 13:25:42 UTC

Sub::Installer - A cleaner way to install (or reinstall) package subroutines River stage two • 3 direct dependents • 10 total dependents

This module provides two universal methods that any package/class can use to install subroutines in its own namespace....

DCONWAY/Sub-Installer-v0.0.3 - 17 Feb 2006 05:09:51 UTC

Sub::Defer - Defer generation of subroutines until they are first called River stage four • 60 direct dependents • 6965 total dependents

These subroutines provide the user with a convenient way to defer creation of subroutines and methods until they are first called....

HAARG/Sub-Quote-2.006006 - 01 Oct 2019 17:33:32 UTC

Sub::Quote - Efficient generation of subroutines via string eval River stage four • 60 direct dependents • 6965 total dependents

This package provides performant ways to generate subroutines from strings....

HAARG/Sub-Quote-2.006006 - 01 Oct 2019 17:33:32 UTC

Kavorka::Sub - a function that has been declared River stage two • 15 direct dependents • 38 total dependents

Kavorka::Sub is a role which represents a function declared using Kavorka. Classes implementing this role are used to parse functions, and also to inject Perl code into them. Instances of classes implementing this role are also returned by Kavorka's ...

TOBYINK/Kavorka-0.039 - 27 Jul 2018 17:58:13 UTC

Sub::Exporter - a sophisticated exporter for custom-built routines River stage four • 342 direct dependents • 6368 total dependents

ACHTUNG! If you're not familiar with Exporter or exporting, read Sub::Exporter::Tutorial first! Why Generators? The biggest benefit of Sub::Exporter over existing exporters (including the ubiquitous Exporter.pm) is its ability to build new coderefs f...

RJBS/Sub-Exporter-0.987 - 18 Oct 2013 15:10:54 UTC

Sub::SymMethod - symbiotic methods; methods that act a little like BUILD and DEMOLISH River stage two • 1 direct dependent • 11 total dependents

Sub::SymMethod creates hierarchies of methods so that when you call one, all the methods in the inheritance chain (including ones defined in roles) are invoked. They are invoked from the most basal class to the most derived class. Methods defined in ...

TOBYINK/Sub-SymMethod-0.005 - 28 Oct 2020 00:10:13 UTC

Sub::HandlesVia - alternative handles_via implementation River stage two • 3 direct dependents • 89 total dependents

If you've used Moose's native attribute traits, or MooX::HandlesVia before, you should have a fairly good idea what this does. Why re-invent the wheel? Well, this is an implementation that should work okay with Moo, Moose, Mouse, and any other OO too...

TOBYINK/Sub-HandlesVia-0.016 - 20 Sep 2020 16:31:29 UTC

Sub::MultiMethod - yet another implementation of multimethods River stage two • 2 direct dependents • 11 total dependents

Sub::Multimethod focusses on implementing the dispatching of multimethods well and is less concerned with providing a nice syntax for setting them up. That said, the syntax provided is inspired by Moose's "has" keyword and hopefully not entirely horr...

TOBYINK/Sub-MultiMethod-0.901 - 09 Oct 2020 22:50:35 UTC

Perinci::Sub::Util - Helper when writing functions River stage three • 42 direct dependents • 519 total dependents

PERLANCAR/Perinci-Sub-Util-0.470 - 20 Oct 2020 10:33:18 UTC

Sub::Exporter::Util - utilities to make Sub::Exporter easier River stage four • 342 direct dependents • 6368 total dependents

This module provides a number of utility functions for performing common or useful operations when setting up a Sub::Exporter configuration. All of the utilities may be exported, but none are by default....

RJBS/Sub-Exporter-0.987 - 18 Oct 2013 15:10:54 UTC

Sub::Exporter::Lexical - to export lexically-available subs with Sub::Exporter River stage one • 1 direct dependent • 1 total dependent

Sub::Exporter::Lexical provides an alternate installer for Sub::Exporter. Installers are documented in Sub::Exporter's documentation; all you need to know is that by using Sub::Exporter::Lexical's installer, you can import routines into a lexical sco...

RJBS/Sub-Exporter-Lexical-0.092292 - 24 Nov 2013 19:00:02 UTC

Sub::CharacterProperties - Support for user-defined character properties River stage zero No dependents

As described in perlunicode, you can define your own character properties. To do so, you need to specify the ranges of allowed characters as pairs of hexadecimal numbers. There are easier ways of combining ranges with "+", "-", "!" and "&", but if yo...

MARCEL/Sub-CharacterProperties-1.100860 - 27 Mar 2010 15:34:14 UTC

Perinci::Sub::Gen::FromClass - Generate function (and its Rinci metadata) from a class River stage one • 1 direct dependent • 1 total dependent

Sometimes some module annoyingly only provides OO interface like: my $obj = Foo->new(arg1=>1, arg2=>2); $obj->some_action; when it could very well just be: some_action(arg1=>1, arg2=>2); This module helps you create that function from a class....

PERLANCAR/Perinci-Sub-Gen-FromClass-0.04 - 04 Sep 2015 00:18:14 UTC

Perinci::Sub::Gen::AccessTable - Generate function (and its metadata) to read table data River stage two • 31 direct dependents • 47 total dependents

This module is useful when you want to expose a table data (an array of hashrefs, an array of arrays, or external data like a SQL table) as an API function. This module will generate a function (along with its Rinci metadata) that accepts arguments f...

PERLANCAR/Perinci-Sub-Gen-AccessTable-0.585 - 07 Oct 2020 13:07:01 UTC

Perinci::Sub::Gen::FromFormulas - Generate functions from formulas River stage one • 1 direct dependent • 1 total dependent

PERLANCAR/Perinci-Sub-Gen-FromFormulas-0.001 - 14 Mar 2017 12:39:25 UTC

Perinci::Sub::Gen::AccessTable::DBI - Generate function (and its metadata) to read DBI table River stage zero No dependents

This module is just like Perinci::Sub::Gen::AccessTable, except that table data source is from DBI. gen_read_dbi_table_func() accept mostly the same arguments as gen_read_table_func(), except: 'table_name' instead of 'table_data', and 'dbh'. Supporte...

PERLANCAR/Perinci-Sub-Gen-AccessTable-DBI-0.18 - 10 Jul 2017 14:52:45 UTC

19 results (0.04 seconds)