| 1 | # | ||
| 2 | # This file is part of BLAH | ||
| 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 BLAH::Types; | ||
| 11 | 1 | our $AUTHORITY = 'cpan:RSRCHBOY'; | |
| 12 | 1 | $BLAH::Types::VERSION = '0.001'; # TRIAL | |
| 13 | # ABSTRACT: A library of BLAH types | ||
| 14 | |||
| 15 | 1 | ▶ | use MooseX::Types -declare => [ qw{ BLAHObject } ]; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | |||
| 17 | #use MooseX::Types::LoadableClass | ||
| 18 | 1 | ▶ | use MooseX::Types::Moose 'Object'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | subtype BLAHObject, | ||
| 21 | as Object, | ||
| 22 | 0 | ▶ | where { $_->isa('BLAH') }, |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 23 | 1 | ; | |
| 24 | |||
| 25 | |||
| 26 | |||
| 27 | 1 | !!42; | |
| 28 | |||
| 29 | __END__ | ||