| 1 | # | ||
| 2 | # This file is part of MooseX-Meta-TypeConstraint-Mooish | ||
| 3 | # | ||
| 4 | # This software is Copyright (c) 2015 by Chris Weyl. | ||
| 5 | # | ||
| 6 | # This is free software, licensed under: | ||
| 7 | # | ||
| 8 | # The GNU Lesser General Public License, Version 2.1, February 1999 | ||
| 9 | # | ||
| 10 | package MooseX::Meta::TypeConstraint::Mooish; | ||
| 11 | 3 | our $AUTHORITY = 'cpan:RSRCHBOY'; | |
| 12 | # git description: e3cfe12 | ||
| 13 | 3 | $MooseX::Meta::TypeConstraint::Mooish::VERSION = '0.001'; | |
| 14 | |||
| 15 | # ABSTRACT: Translate Moo-style constraints to Moose-style | ||
| 16 | |||
| 17 | 3 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 3 | ▶ | use namespace::autoclean 0.24; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 3 | extends 'Moose::Meta::TypeConstraint'; | |
| 21 | 3 | with 'MooseX::TraitFor::Meta::TypeConstraint::Mooish'; | |
| 22 | |||
| 23 | 3 | __PACKAGE__->meta->make_immutable(inline_constructor => 0); | |
| 24 | 3 | !!42; | |
| 25 | |||
| 26 | __END__ | ||