Search results for "module:Attribute::Handlers"
Attribute::Handlers - Simpler definition of attribute handlers
This module, when inherited by a package, allows that package's class to define attribute handler subroutines for specific attributes. Variables and subroutines subsequently defined in that package, or in packages derived from that package may be giv...
RJBS/Attribute-Handlers-0.99 - 24 Jul 2015 22:47:18 UTC
Attribute::Handlers::Clean - Simpler definition of attribute handlers, without messing with UNIVERSAL.
This module is heavily based on the excellent Attribute::Handlers. Around 90% of the code and documentation is exactly the same. The big difference is that, while Attribute::Handlers relies on defining things in the UNIVERSAL namespace, this module d...
ZARABOZO/Attribute-Handlers-Clean-1.06 - 02 May 2021 23:17:54 UTC
Attribute::Handlers::Prospective - Richer semantics for attribute handlers
This module, when inherited by a package, allows that package's class to define attribute handler subroutines for specific attributes. Variables and subroutines subsequently defined in that package, or in packages derived from that package may be giv...
DCONWAY/Attribute-Handlers-Prospective-0.01 - 25 Oct 2001 10:51:52 UTC
Sub::Attribute - Reliable subroutine attribute handlers
"Sub::Attribute" is a role to define attribute handlers for specific subroutine attributes. The feature of this module is similar to that of "Attribute::Handlers", but has less functionality and more reliability. That is, while "Attribute::Handlers" ...
DCANTRELL/Sub-Attribute-0.07 - 31 Oct 2018 23:17:35 UTC
Attribute::Universal - Install attribute handlers directly into UNIVERSAL namespace
According to the example above, this module does just this on import: use Attribute::Handlers; sub UNIVERSAL::Load : ATTR(CODE) { goto &Disco::ATTRIBUTE; } Hint: the *redefine* warning is still enabled. More than one attribute may be defined at impor...
ZURBORG/Attribute-Universal-0.003 - 25 Jan 2016 08:41:30 UTC
Attribute::Tie - Tie via Attribute
Attribute::Tie allows you to tie variables via attribute. This is more intuitive than tie my %hash, "Tie::Hash::Yours", args ... or die "$!"; The first argument to "Tie()" is the name of the module to which you want to tie the variable. You can omit ...
DANKOGAI/Attribute-Tie-0.02 - 08 Feb 2009 09:02:26 UTC
Rinchi::XMLSchema - Module for creating XML Schema objects from XSD files.
This module parses XML Schema files and produces Perl objects representing them. There is also the capability to compare objects to see if they are the same (not necessarily equal). The intent of this module is to allow the comparison of various sche...
BMAMES/Rinchi-XMLSchema-0.02 - 28 Jun 2008 03:35:29 UTC
Attribute::Util - Assorted general utility attributes
When used without argument, this module provides four universally accessible attributes of general interest as follows: Abstract See Attribute::Abstract. Alias See Attribute::Alias. Memoize See Attribute::Memoize. Method See Attribute::Method. SigHan...
DANKOGAI/Attribute-Util-1.07 - 24 Feb 2013 09:18:06 UTC
XML::Essex::Model - Essex objects representing SAX events and DOM trees
A description of all of the events explicitly supported so far. Unsupported events are still handled as anonymous events, see XML::Essex::Event for details. A short word on abbreviations A goal of essex is to allow code to be as terse or verbose as i...
RBS/XML-Filter-Essex-0.01 - 16 Jan 2003 20:27:36 UTC
Attribute::Args - check subroutine param types
SWINED/Attribute-Args-0.06
-
08 Mar 2017 13:09:16 UTC
Attribute::Alias - An Alias attribute
If you need a variable or subroutine to be known by another name, use this attribute. Internally, the attribute's handler assigns typeglobs to each other. As such, the "Alias" attribute provides a layer of abstraction. If the underlying mechanism cha...
DANKOGAI/Attribute-Util-1.07 - 24 Feb 2013 09:18:06 UTC
Net::Z3950::SimpleServer - Simple Perl API for building Z39.50 servers.
The SimpleServer module is a tool for constructing Z39.50 "Information Retrieval" servers in Perl. The module is easy to use, but it does help to have an understanding of the Z39.50 query structure and the construction of structured retrieval records...
MIRK/Net-Z3950-SimpleServer-1.21 - 27 Sep 2016 11:07:21 UTC
Attribute::Static - implementing static method with attributes
Attribute::Static implements something like static methods in Java....
JIRO/Attribute-Static-0.02 - 29 Dec 2005 21:03:09 UTC
Attribute::Method - No more 'my $self = shift;'
This Attribute makes your subroutine a method -- $self is automagically set and the parameter list is supported. This trick is actually introduced in "Perl Hacks", hack #47. But the code sample therein is a little buggy so have a look at this module ...
DANKOGAI/Attribute-Util-1.07 - 24 Feb 2013 09:18:06 UTC
Attribute::Cached - easily cache subroutines results using a :Cached attribute
In many applications, including web apps, caching data is used to help scale the sites, trading a slight lack of immediacy in results with a lower load on DB and other resources. Usually we'll do something like this sub my_query { my ($self, %pars) =...
OSFAMERON/Attribute-Cached-0.02 - 24 Nov 2009 22:45:27 UTC
Attribute::Memoize - A Memoize attribute
This attribute makes it slightly easier (and modern) to memoize a function by providing an attribute, ":Memoize" that makes it unnecessary for you to explicitly call "Memoize::memoize()". Options can be passed via the attribute per usual (see the "At...
DANKOGAI/Attribute-Util-1.07 - 24 Feb 2013 09:18:06 UTC
Attribute::Storage - declare and retrieve named attributes about CODE references
This package provides a base, where a package using it can define handlers for particular code attributes. Other packages, using the package that defines the code attributes, can then use them to annotate subs. This is similar to "Attribute::Handlers...
PEVANS/Attribute-Storage-0.10 - 28 Apr 2022 15:50:51 UTC
Capture::Attribute - s/return/print/g
Sometimes you write a function that needs to build a long string via a convoluted series of conditional statements, loops and so on. I tend to end up defining a variable $return at the top of the code, concatenating bits to it as required, and then r...
TOBYINK/Capture-Attribute-0.003 - 10 Sep 2014 23:19:09 UTC
Attribute::Context - Perl extension for automatically altering subroutine behavior based upon context
"Attribute::Context" creates attributes for subroutines to alter their behavior based upon their calling context. Three contexts are recognized: Contexts * list my @array = foo(); Currently it is assumed that subroutines returning using these attribu...
OVID/Attribute-Context-0.042 - 18 Nov 2006 16:35:25 UTC
Attribute::Default - Perl extension to assign default values to subroutine arguments
You've probably seen it a thousand times: a subroutine begins with a complex series of "defined($blah) or $blah = 'fribble'" statements designed to provide reasonable default values for optional parameters. They work fine, but every once in a while o...
STEPHEN/Attribute-Default-1.35 - 24 Aug 2013 07:34:26 UTC