• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux MooseX::AttributeDefaults Download

MooseX::AttributeDefaults

November 18, 2008
The software offers a default option for attribute metaclasses to facilitate their role.
Version 0.02
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Paul Driver
MooseX::AttributeDefaults is a must-have Perl module for any software developer. It provides a convenient and easy way to set default option for your attribute metaclasses. This module is a great alternative to overriding attributes in subclasses of Moose::Meta::Attribute, which can have some limitations. For instance, overriding 'is' does not do anything at all currently. MooseX::AttributeDefaults takes care of these implementation details and provides various workarounds to overcome these issues.

To use MooseX::AttributeDefaults, you can define a custom metaclass that extends from Moose::Meta::Attribute and includes the module using the 'with' keyword. You can then set the default options for your attributes using the 'default_options' subroutine. This subroutine takes the attribute's class and name as input and returns the default options in a hash.

Another way to use MooseX::AttributeDefaults is by defining a trait instead of a metaclass. You can create a role that includes the module and defines the default options using the 'default_options' subroutine. This way, you can apply the trait to any class that uses Moose and benefit from the default options.

MooseX::AttributeDefaults is highly customizable and can be used in conjunction with other Moose modules such as MooseX::AttributeHelpers. For example, you can use the 'Collection::Array' metaclass and apply the 'Acme::Common::Array' trait to define default options for your array attributes. This way, you can easily add new items to your array using the 'push' method provided by 'Collection::Array'.

Overall, MooseX::AttributeDefaults is a powerful and flexible tool that can save you a lot of time and effort when defining attributes in your Moose-based classes. Its clean and easy-to-use syntax make it a must-have for any Perl developer.
What's New

Version 0.02: N/A

Free Download 20.5K
331
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    157
  2. Dvgrab 3.4
    94
  3. DynVPN 1.0
    83
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    76
  6. porm r2
    72
  7. Clewarecontrol 0.8
    71
  8. Hills 2.0
    71
  9. fuseftp 0.8
    70
  10. Java Games 1.0
    70

Related Downloads

NmnNewsletter
NmnNewsletter is a user-friendly web-based application that facilitates newsletter and messaging management ...
JDBCImporter
This software offers a reliable solution for seamlessly importing data from file ...
Jawflow
JawFlow is a Workflow Engine that follows WfMC directives to enhance workflow ...
eyeFinance
eyeFinance is a finance tracking software that has been transferred from ExiousOS, ...
Skeith
The mod_log_sql Analyzer is a software tool designed to analyze Apache web ...
jMovie
jMovie is a user-friendly software that allows for easy maintenance of your ...
StatCvs-XML
StatCvs-XML is an advanced software extension of StatCvs that provides detailed reports ...
ScsiaddGui
Scsiaddgui is a graphical interface for Scsiadd utility, simplifying SCSI management with ...
xrestop
Xrestop is a software utility that helps monitor resource usage in X ...
XMMS Weasel
XMMS Weasel is a versatile plugin for XMMS music player software.
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.