| 1 | package App::Standby::Service::MS; | ||
| 2 | 2 | $App::Standby::Service::MS::VERSION = '0.04'; | |
| 3 | 2 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | $App::Standby::Service::MS::AUTHORITY = 'cpan:TEX'; | |
| 5 | } | ||
| 6 | # ABSTRACT: a Monitoring::Spooler service | ||
| 7 | |||
| 8 | 2 | ▶ | use 5.010_000; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 2 | ▶ | use mro 'c3'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 2 | ▶ | use feature ':5.10'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 2 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | # use IO::Handle; | ||
| 16 | # use autodie; | ||
| 17 | # use MooseX::Params::Validate; | ||
| 18 | # use Carp; | ||
| 19 | # use English qw( -no_match_vars ); | ||
| 20 | # use Try::Tiny; | ||
| 21 | |||
| 22 | # extends ... | ||
| 23 | 2 | extends 'App::Standby::Service::HTTP'; | |
| 24 | # has ... | ||
| 25 | # with ... | ||
| 26 | # initializers ... | ||
| 27 | 0 | ▶ | sub _init_endpoints { |
|
Subroutine
_init_endpoints: not called CC=1 SCAR=6.9
| |||
| 28 | 0 | my $self = shift; | |
| 29 | |||
| 30 | 0 | return $self->_config_values($self->name().'_endpoint'); | |
| 31 | } | ||
| 32 | |||
| 33 | # your code here ... | ||
| 34 | |||
| 35 | 2 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 36 | 2 | __PACKAGE__->meta->make_immutable; | |
| 37 | |||
| 38 | 2 | 1; | |
| 39 | |||
| 40 | __END__ | ||
| 41 | |||
| 42 | =pod | ||
| 43 | |||
| 44 | =encoding utf-8 | ||
| 45 | |||
| 46 | =head1 NAME | ||
| 47 | |||
| 48 | App::Standby::Service::MS - a Monitoring::Spooler service | ||
| 49 | |||
| 50 | =head1 NAME | ||
| 51 | |||
| 52 | App::Standby::Service::MS - a Monitoring::Spooler service | ||
| 53 | |||
| 54 | =head1 AUTHOR | ||
| 55 | |||
| 56 | Dominik Schulz <dominik.schulz@gauner.org> | ||
| 57 | |||
| 58 | =head1 COPYRIGHT AND LICENSE | ||
| 59 | |||
| 60 | This software is copyright (c) 2012 by Dominik Schulz. | ||
| 61 | |||
| 62 | This is free software; you can redistribute it and/or modify it under | ||
| 63 | the same terms as the Perl 5 programming language system itself. | ||
| 64 | |||
| 65 | =cut | ||