Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.389.756 Times

MooseX::Attribute::Prototype 0.10

Company: Christopher Brown
Date Added: July 21, 2013  |  Visits: 213

MooseX::Attribute::Prototype

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 downloads)



MooseX::Attribute::Prototype is a Perl module that implements attribute prototyping -- the practice of borrowing an attribute from a role and optionally overriding/extending the attribute definition. This is This works very similar to Moose's native attribute cloning, but allows for additional benefits such as changing the name of the attribute and the abstracting of attributes into roles.<br /><br />Attributes are very often designed as objects that have their own types and methods associated with them. MooseX::Attribute::Prototype takes a very pragmatic view of attributes. They are the fundamental building blocks of a class. This module promotes a more natural reuse of attributes.<br /><br />When your attribute includes a prototype specification, the attribute is copied from the role and attribute. In many situations, all you will want is declare a prototype. All current specifications override those provided by prototype.<br /><br />SYNOPSIS<br /><br /> package MyClass;<br /> use Moose;<br /> use MooseX::Attribute::Prototype;<br /> <br /> has 'my_attr' => (<br /> is => 'rw' ,<br /> isa => 'Str' ,<br /> prototype => 'MyRole/my_attr' ,<br /> );<br /> <br /> <br /> has 'my_attr_2' => prototype => 'MyRole2/my_attr_2';<br /> <br /> has 'my_attr_3' => prototype => 'MyRole3'; # Same as 'MyRole3/myrole3'

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Attr Attribute Attributes Attributeswhen Copied Current Declare Includes Module Moosex Moosex Attribute Moosexattributeprototype Myrolemy Attr Natural Override Promotes Prototype Provided Reuse Situations Specification Specifications
Users rating: 0/10

License: Freeware Size: 30.72 KB
USER REVIEWS
More Reviews or Write Review


MOOSEX::ATTRIBUTE::PROTOTYPE RELATED
Libraries  -  XML::DOM::Attr 1.44
XML::DOM::Attr is an XML attribute in XML::DOM. XML::DOM::Attr extends XML::DOM::Node. The Attr nodes built by the XML::DOM::Parser always have one child node which is a Text node containing the expanded string value (i.e. EntityReferences are...
112.64 KB  
Modules  -  Ubercart Attribute Clone 6.x-1.0
Attribute clone provides support for Ubercart product attributes when using the Node clone module.With this module enabled, all attributes and options are copied to the new product when a product node is cloned. This can save time when setting up...
10 KB  
Libraries  -  Getopt::Attribute 1.3.2
Getopt::Attribute is a Perl module to attribute wrapper for Getopt::Long. SYNOPSIS use Getopt::Attribute; our $verbose : Getopt(verbose!); our $all : Getopt(all); our $size : Getopt(size=s); our $more : Getopt(more+); our @library :...
3.07 KB  
Travel  -  DiccionarioMaya 1.0.0.0
Learn how to use the most common Mayan words with this easy to use Mayan dictionary. In the current version includes Mayan to Spanish and Spanish to Mayan, but the next version will include more languages. Requirements: Windows Phone...
1024 KB  
Libraries  -  File::Attributes 0.04
File::Attributes is a Perl module to manipulate file metadata. SYNOPSIS use File::Attributes qw(set_attribute list_attributes get_all_attributes); my $file = foo.txt; set_attribute($file, type => text/plain); set_attribute($file, encoding...
30.72 KB  
Libraries  -  Object::Relation::Meta::Attribute::Schema 0.1.0
Object::Relation::Meta::Attribute::Schema is a Perl module for Object::Relation database store builder. Synopsis # Assuming MyThingy was generated by Object::Relation::Meta and that were building # a data store schema. my $class =...
235.52 KB  
Modules  -  OpenID Attribute Exchange Implementation 6.x-1.2-alpha3
OpenID Attribute Exchange is an extension for OpenID service which allows the transfer of various user related details/information/attributes between the relying party and the identity provider. There are two primary operations that can be done...
10 KB  
Modules  -  Unique Attributes 1.0
Unique Attributes v1.0 provides the following:- A unique name for attributes in admin, distinct from the display name displayed in the catalog.- A link (or comment) for each unique attribute. Links will pop up a small window to provide a more...
 
Libraries  -  Object::Declare 0.13
Object::Declare is a Perl module for declarative object constructor. SYNOPSIS use Object::Declare [MyApp::Column, MyApp::Param]; my %objects = declare { param foo => !is global, is immutable, valid_values are qw( more values ); column...
27.65 KB  
Libraries  -  Class::Meta 0.53
Class::Meta is a Perl class automation, introspection, and data validation. SYNOPSIS Generate a class: package MyApp::Thingy; use strict; use Class::Meta; use Class::Meta::Types::String; use Class::Meta::Types::Numeric; BEGIN { #...
61.44 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB