The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "module:MooseX::Params::Validate"

MooseX::Params::Validate - an extension of Params::Validate using Moose's types River stage two • 66 direct dependents • 93 total dependents

This module fills a gap in Moose by adding method parameter validation to Moose. This is just one of many developing options, it should not be considered the "official" one by any means though. You might also want to explore "MooseX::Method::Signatur...

DROLSKY/MooseX-Params-Validate-0.21 - 08 Feb 2015 17:17:33 UTC

MooseX::Params::Validate::Exception::ValidationFailedForTypeConstraint - Exception thrown when a type constraint check fails River stage two • 66 direct dependents • 93 total dependents

This class provides information about type constraint failures....

DROLSKY/MooseX-Params-Validate-0.21 - 08 Feb 2015 17:17:33 UTC

MooseX::App - Write user-friendly command line apps with even less suffering River stage two • 32 direct dependents • 57 total dependents

MooseX-App is a highly customisable helper to write user-friendly command line applications without having to worry about most of the annoying things usually involved. Just take any existing Moose class, add a single line ("use MooseX-App qw(PluginA ...

MAROS/MooseX-App-1.43 - 21 Oct 2023 12:08:25 UTC

MooseX::Params - Subroutine signature declaration via attributes River stage zero No dependents

This module provides an attributes-based interface for parameter processing in Perl 5. For the original rationale see <http://mechanicalrevolution.com/blog/parameter_apocalypse.html>. The proposed interface is based on three cornerstone propositions:...

PSHANGOV/MooseX-Params-0.010 - 03 Feb 2012 17:39:22 UTC

MooseX::Method - (DEPRECATED) Method declaration with type checking River stage one • 2 direct dependents • 2 total dependents

The problem This module is an attempt to solve a problem I've often encountered but never really found any good solution for: validation of method parameters. How many times have we all ourselves writing code like this: sub foo { my ($self,$args) = @...

GPHAT/MooseX-Method-0.44 - 30 Jun 2009 19:01:15 UTC

MooseX::Contract - Helps you avoid Moose-stakes! River stage zero No dependents

The Design by Contract (DbC) method of programming could be seen as simply baking some simple unit test or assertions right into your regular code path. The set of assertions or tests for a given class is considered that class' contract - a guarantee...

BPHILLIPS/MooseX-Contract-0.01 - 20 Jan 2009 03:49:20 UTC

MooseX::Extended::Types - Keep our type tools organized River stage one • 1 direct dependent • 1 total dependent

A basic set of useful types for "MooseX::Extended", as provided by Type::Tiny. Using these is preferred to using using strings due to runtime versus compile-time failures. For example: # fails at runtime, if ->name is set param name => ( isa => 'str'...

OVID/MooseX-Extended-0.35 - 06 Jun 2023 04:43:25 UTC
7 results (0.062 seconds)