« blib/lib/Git/PurePerl/Walker/Role/OnCommit.pm
↑ Summary
lib/Git/PurePerl/Walker/OnCommit/CallBack.pm »
| 1 | 14 | ▶ | use 5.008; # utf8 |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 14 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 14 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 14 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | package Git::PurePerl::Walker::Types; | ||
| 7 | |||
| 8 | 14 | our $VERSION = '0.004000'; | |
| 9 | |||
| 10 | # ABSTRACT: Misc utility types for Git::PurePerl::Walker | ||
| 11 | |||
| 12 | 14 | our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY | |
| 13 | |||
| 14 | 14 | use MooseX::Types -declare => [ | |
| 15 | qw( | ||
| 16 | GPPW_Repository | ||
| 17 | GPPW_Methodish | ||
| 18 | GPPW_Method | ||
| 19 | GPPW_OnCommitish | ||
| 20 | GPPW_OnCommit | ||
| 21 | ), | ||
| 22 | 14 | ▶ | ]; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | |||
| 24 | 14 | ▶ | use MooseX::Types::Moose qw( Str CodeRef ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | |||
| 26 | ## no critic (Subroutines::ProhibitCallsToUndeclaredSubs) | ||
| 27 | 14 | class_type GPPW_Repository, { 'class' => 'Git::PurePerl' }; | |
| 28 | 14 | role_type GPPW_Method, { role => 'Git::PurePerl::Walker::Role::Method' }; | |
| 29 | 14 | role_type GPPW_OnCommit, { role => 'Git::PurePerl::Walker::Role::OnCommit' }; | |
| 30 | 14 | union GPPW_Methodish, [ Str, GPPW_Method ]; | |
| 31 | 14 | union GPPW_OnCommitish, [ Str, CodeRef, GPPW_OnCommit ]; | |
| 32 | ## use critic | ||
| 33 | |||
| 34 | 14 | 1; | |
| 35 | |||
| 36 | __END__ | ||
| 37 | |||
| 38 | =pod | ||
| 39 | |||
| 40 | =encoding UTF-8 | ||
| 41 | |||
| 42 | =head1 NAME | ||
| 43 | |||
| 44 | Git::PurePerl::Walker::Types - Misc utility types for Git::PurePerl::Walker | ||
| 45 | |||
| 46 | =head1 VERSION | ||
| 47 | |||
| 48 | version 0.004000 | ||
| 49 | |||
| 50 | =head1 AUTHOR | ||
| 51 | |||
| 52 | Kent Fredric <kentnl@cpan.org> | ||
| 53 | |||
| 54 | =head1 COPYRIGHT AND LICENSE | ||
| 55 | |||
| 56 | This software is copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>. | ||
| 57 | |||
| 58 | This is free software; you can redistribute it and/or modify it under | ||
| 59 | the same terms as the Perl 5 programming language system itself. | ||
| 60 | |||
| 61 | =cut | ||