Sub::Install - install subroutines into packages easily River stage four • 88 direct dependents • 6735 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 • 3716 direct dependents • 31550 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.60 - 08 Oct 2021 11:08:29 UTC

Sub::Defer - Defer generation of subroutines until they are first called River stage four • 52 direct dependents • 4528 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::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::Quote - Efficient generation of subroutines via string eval River stage four • 52 direct dependents • 4528 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 • 19 direct dependents • 33 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 • 330 direct dependents • 5836 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.988 - 19 Jun 2021 03:46:29 UTC

Sub::SymMethod - symbiotic methods; methods that act a little like BUILD and DEMOLISH River stage two • 1 direct dependent • 10 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::WrapInType - Wrap the subroutine to validate the argument type and return type. River stage one • 2 direct dependents • 2 total dependents

Sub::WrapInType is wrap the subroutine to validate the argument type and return type....

MPOLIIU/Sub-WrapInType-0.07 - 14 Mar 2021 02:47:25 UTC

Sub::HandlesVia - alternative handles_via implementation River stage two • 3 direct dependents • 76 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 • 1 direct dependent • 10 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.902 - 15 Nov 2020 15:09:07 UTC

Perinci::Sub::Util - Helper when writing functions River stage three • 47 direct dependents • 556 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 • 330 direct dependents • 5836 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.988 - 19 Jun 2021 03:46:29 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::GetArgs::Argv - Get subroutine arguments from command line arguments (@ARGV) River stage three • 16 direct dependents • 517 total dependents

This module provides "get_args_from_argv()", which parses command line arguments (@ARGV) into subroutine arguments (%args). This module is used by Perinci::CmdLine. For explanation on how command-line options are processed, see Perinci::CmdLine's doc...

PERLANCAR/Perinci-Sub-GetArgs-Argv-0.847 - 30 Sep 2021 15:42:37 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 • 32 direct dependents • 51 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.587 - 29 Jul 2021 16:00:40 UTC

Sort::Sub::prereq_ala_perlancar - Sort prereqs PERLANCAR-style River stage one • 3 direct dependents • 6 total dependents

I sort my prereqs in dist.ini using this rule: "perl", then pragmas (sorted ascibetically), then other modules (sorted ascibetically and case-insensitively). Case-sensitive option is ignored. Sorting is always done using the abovementioned rule....

PERLANCAR/Sort-SubBundle-PERLANCAR-0.092 - 17 Oct 2021 14:34:13 UTC
24 results (0.04 seconds)