Deprecated.
The maintainer of this module has indicated that the module is deprecated and no longer suitable for use.
NAME
MooseX::Meta::Signature::Positional::Compiled - Compiled positional 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::Positional::Compiled;
my $validator = MooseX::Meta::Signature::Positional::Compiled->new ({ isa => 'Int' })->compile;
eval {
$validator->(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.