Deprecated.
The maintainer of this distribution has indicated that it is deprecated and no longer suitable for use.
NAME
MooseX::Meta::Parameter::Moose - Moose style parameter metaclass
WARNING
This API is unstable, it may change at any time. This should not affect ordinary MooseX::Method usage.
SYNOPSIS
my
$parameter
= MooseX::Meta::Parameter::Moose->new (
isa
=>
'Int'
);
my
$result
;
eval
{
$result
=
$parameter
->validate (
"foo"
);
};
Dumper(
$parameter
->export);
METHODS
- validate
-
Takes an argument, validates it, and returns the argument or possibly a coerced version of it. Exceptions are thrown on validation failure.
BUGS
Most software has bugs. This module probably isn't an exception. If you find a bug please either email me, or add the bug to cpan-RT.
AUTHOR
Anders Nor Berle <debolaz@gmail.com>
COPYRIGHT AND LICENSE
Copyright 2007 by Anders Nor Berle.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.