MooseX::Meta::Signature::Combined::Compiled - Compiled combined signature


MooseX-Method documentation  | view source Contained in the MooseX-Method distribution.

Index


NAME

Top

MooseX::Meta::Signature::Combined::Compiled - Compiled combined signature

WARNING

Top

This API is unstable, it may change at any time. This should not affect ordinary MooseX::Method usage.

SYNOPSIS

Top

  use MooseX::Meta::Signature::Combined::Compiled;

  my $validator = MooseX::Meta::Signature::Combined::Compiled->new ({ isa => 'Int' })->compile;

  eval {
    $validator->(42);
  };

METHODS

Top

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

Top

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

Top

Anders Nor Berle <debolaz@gmail.com>

COPYRIGHT AND LICENSE

Top


MooseX-Method documentation  | view source Contained in the MooseX-Method distribution.