Search results for "module:Sub::Lexical"
Lexical::Sub - subroutines without namespace pollution
This module implements lexical scoping of subroutines. Although it can be used directly, it is mainly intended to be infrastructure for modules that manage namespaces. This module influences the meaning of single-part subroutine names that appear dir...
ZEFRAM/Lexical-Var-0.009 - 25 Aug 2013 19:00:07 UTC
Sub::Lexical - implements lexically scoped subroutines
Using this module will give your code the illusion of having lexically scoped subroutines. This is because where ever a sub is lexically declared it will really just turn into a "my()"ed scalar pointing to a coderef. However the lexically scoped subs...
BROQ/Sub-Lexical-0.81 - 15 Oct 2002 16:54:11 UTC
Sub::Exporter::Lexical - to export lexically-available subs with Sub::Exporter
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.100000 - 11 Jan 2023 02:59:20 UTC
Sub::Accessor::Small - small toolkit for generating getter/setter methods
This is a small toolkit for generating Moose-like attribute accessors. It does not generate a constructor. It stores attribute values inside-out, but it is designed for Sub::Accessor::Small to be subclassed, making it easy to store attributes in othe...
TOBYINK/Lexical-Accessor-0.014 - 16 Jun 2022 16:32:46 UTC
lib/Sub/HandlesVia/Toolkit/SubAccessorSmall.pm
TOBYINK/Lexical-Accessor-0.014
-
16 Jun 2022 16:32:46 UTC
Sub::Inject - Inject subroutines into a lexical scope
This module allows to dynamically inject lexical subs during compilation. It is implemented using lexical subroutines introduced in perl 5.18. This is a low level library. It is meant for cases where subroutine names and bodies are to be treated as d...
FERREIRA/Sub-Inject-0.3.0 - 22 Sep 2017 01:59:54 UTC
Sub::Op - Install subroutines as opcodes.
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::Clean - Clean subroutines with an attribute
This module 'cleans' subroutines you mark with the "Cleaned" attribute, preventing them being called from places they haven't been already been bound by the perl compiler. The main advantage in this is that you can declare subroutines and use them in...
MARKF/Sub-Clean-0.01 - 27 Jul 2010 07:25:29 UTC
Sub::Lazy - defer calculating subs until necessary
Sub::Lazy allows you to mark subs as candidates for lazy evaluation. Good candidates for lazy evaluation: * Have no side-effects. They don't alter global variables; they don't make use of any closed-over lexical variables; they don't do IO or make sy...
TOBYINK/Sub-Lazy-0.002 - 10 Sep 2014 22:02:36 UTC
Sub::Quote - Efficient generation of subroutines via string eval
This package provides performant ways to generate subroutines from strings....
HAARG/Sub-Quote-2.006008 - 20 Jan 2023 10:28:03 UTC
Sub::Delete - Perl module enabling one to delete subroutines
This module provides one function, "delete_sub", that deletes the subroutine whose name is passed to it. (To load the module without importing the function, write "use Sub::Delete();".) This does more than simply undefine the subroutine in the manner...
SPROUT/Sub-Delete-1.00002 - 18 Apr 2010 20:25:10 UTC
Sub::Filter - automatically filter function's return value
This module allows a function to be augmented with a filter that will be applied to its return values. Whenever the function returns, by whatever means, the value (or list of values) being returned is passed through the filter before going to the cal...
ZEFRAM/Sub-Filter-0.004 - 26 Aug 2013 00:26:18 UTC
Sub::Lambda - syntactic sugar for lambdas in Perl
This module provides syntactic sugar for lambda abstractions and applications. Perl supports lambdas through subroutine references. You can write things like the curried addition: sub { my ($x) = @_; sub { my ($y) = @_; $x + $y } } However, this is n...
TOYVO/Sub-Lambda-0.02 - 18 Mar 2008 20:28:10 UTC
Sub::Assert - Subroutine pre- and postconditions, etc.
The Sub::Assert module implements subroutine pre- and postconditions. Furthermore, it allows restricting the subroutine's calling context. There's one big gotcha with this: It's slow. For every call to subroutines you use assert() with, you pay for t...
SMUELLER/Sub-Assert-1.23 - 01 Nov 2009 14:57:20 UTC
Sub::Genius - Manage concurrent Perl semantics in the uniprocess execution model of perl.
Sub::Genius generates a correctly ordered, sequential series of subroutine calls from a declarative *plan* that may be parallel or concurrent in nature. This allows a concurrency plan to be *serialized* or *linearized* properly for execution in a uni...
OODLER/Sub-Genius-0.314004 - 01 Jul 2021 11:39:42 UTC
Sub::Compose
The compose() function takes any number of subroutine references and creates a new subroutine reference from them that * Executes the code from the 1st with the parameters passed in * Executes the code from (N+1)th with the return value from the Nth....
RKINYON/Sub-Compose-0.01 - 21 Jan 2006 19:11:39 UTC
Sub::Metadata - read and write subroutine metadata
This module contains functions that examine and modify data that Perl attaches to subroutines....
ZEFRAM/Sub-Metadata-0.002 - 25 Jul 2017 08:53:30 UTC
Sub::Exporter - a sophisticated exporter for custom-built routines
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.989 - 01 Jan 2023 00:35:04 UTC
Sub::Recursive - Anonymous memory leak free recursive subroutines
Recursive closures suffer from a severe memory leak. "Sub::Recursive" makes the problem go away cleanly and at the same time allows you to write recursive subroutines as expressions and can make them truly anonymous. There's no significant speed diff...
LODIN/Sub-Recursive-0.05 - 18 Jul 2015 06:39:35 UTC
Sub::StrictDecl - detect undeclared subroutines in compilation
This module provides optional checking of subroutine existence at compile time. This checking detects mistyped subroutine names and subroutines that the programmer forgot to import. Traditionally Perl does not detect these errors until runtime, so it...
ZEFRAM/Sub-StrictDecl-0.005 - 19 Jul 2017 10:08:02 UTC