Deprecated.
The maintainer of this distribution has indicated that it is deprecated and no longer suitable for use.
NAME
MooseX::Meta::Signature::Named::Compiled - Compiled named signature
WARNING
This API is unstable, it may change at any time. This should not affect ordinary MooseX::Method usage.
SYNOPSIS
use MooseX::Meta::Signature::Named::Compiled;
my $validator = MooseX::Meta::Signature::Named::Compiled->new (foo => { isa => 'Int' })->compile;
eval {
$validator->(foo => 42);
};
METHODS
- validate
-
Overriden from the superclass.
- compile
-
Produces a validator coderef.
- as_perl
-
Spits out most of the perl code used to produce the coderef above. This is primarily used internally for inlining.
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.