File: Class.pm

package info (click to toggle)
libmoosex-app-perl 1.43-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 712 kB
  • sloc: perl: 4,011; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ============================================================================
package MooseX::App::Plugin::Man::Meta::Class;
# ============================================================================

use 5.010;
use utf8;

use namespace::autoclean;
use Moose::Role;

use MooseX::App::Plugin::Man::Command;

around '_build_app_commands' => sub {
    my $orig = shift;
    my $self = shift;

    my $return = $self->$orig(@_);
    $return->{man} ||= 'MooseX::App::Plugin::Man::Command';

    return $return;
};

1;