Cory G Watson > MooseX-Method-0.44 > MooseX::Meta::Signature::Positional::Compiled

Download:
MooseX-Method-0.44.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.01   Source  

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.

syntax highlighting: