| 1 | package App::Standby::Cmd; | ||
| 2 | 4 | $App::Standby::Cmd::VERSION = '0.04'; | |
| 3 | 4 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 4 | $App::Standby::Cmd::AUTHORITY = 'cpan:TEX'; | |
| 5 | } | ||
| 6 | # ABSTRACT: Command base class | ||
| 7 | |||
| 8 | 4 | ▶ | use 5.010_000; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 4 | ▶ | use mro 'c3'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 4 | ▶ | use feature ':5.10'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 4 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 4 | ▶ | 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 | 4 | extends 'MooseX::App::Cmd'; | |
| 24 | # has ... | ||
| 25 | # with ... | ||
| 26 | # initializers ... | ||
| 27 | |||
| 28 | # your code here ... | ||
| 29 | |||
| 30 | 4 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 31 | 4 | __PACKAGE__->meta->make_immutable; | |
| 32 | |||
| 33 | 4 | 1; | |
| 34 | |||
| 35 | __END__ | ||
| 36 | |||
| 37 | =pod | ||
| 38 | |||
| 39 | =encoding utf-8 | ||
| 40 | |||
| 41 | =head1 NAME | ||
| 42 | |||
| 43 | App::Standby::Cmd - Command base class | ||
| 44 | |||
| 45 | =head1 SYNOPSIS | ||
| 46 | |||
| 47 | use App::Standby::Cmd; | ||
| 48 | my $Cmd = App::Standby::Cmd::->new(); | ||
| 49 | |||
| 50 | =head1 DESCRIPTION | ||
| 51 | |||
| 52 | This class is the base class for any command implemented by its subclasses. | ||
| 53 | |||
| 54 | It is a mere requirement by App::Cmd. Don't mess with it. | ||
| 55 | |||
| 56 | =head1 NAME | ||
| 57 | |||
| 58 | App::Standby::Cmd - Command base class | ||
| 59 | |||
| 60 | =head1 AUTHOR | ||
| 61 | |||
| 62 | Dominik Schulz <dominik.schulz@gauner.org> | ||
| 63 | |||
| 64 | =head1 COPYRIGHT AND LICENSE | ||
| 65 | |||
| 66 | This software is copyright (c) 2012 by Dominik Schulz. | ||
| 67 | |||
| 68 | This is free software; you can redistribute it and/or modify it under | ||
| 69 | the same terms as the Perl 5 programming language system itself. | ||
| 70 | |||
| 71 | =cut | ||