File: MyMBClass.pm

package info (click to toggle)
libparams-validate-perl 1.31-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,360 kB
  • sloc: perl: 2,374; makefile: 3
file content (21 lines) | stat: -rw-r--r-- 266 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package MyMBClass;

use strict;
use warnings;

use base 'Module::Build';

sub new {
    my $class = shift;

    my $self = $class->SUPER::new(@_);

    if ( defined( my $pp = $self->args('pp') ) ) {
        $self->pureperl_only($pp);
    }

    return $self;
}

1;