| 1 | package Toolforge::MixNMatch::Object::User; | ||
| 2 | |||
| 3 | 6 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 6 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 6 | ▶ | use Mo qw(build is); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 6 | ▶ | use Mo::utils qw(check_required); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 6 | our $VERSION = 0.04; | |
| 10 | |||
| 11 | 6 | has count => ( | |
| 12 | is => 'ro', | ||
| 13 | required => 1, | ||
| 14 | ); | ||
| 15 | |||
| 16 | 6 | has uid => ( | |
| 17 | is => 'ro', | ||
| 18 | required => 1, | ||
| 19 | ); | ||
| 20 | |||
| 21 | 6 | has username => ( | |
| 22 | is => 'ro', | ||
| 23 | required => 1, | ||
| 24 | ); | ||
| 25 | |||
| 26 | 7 | ▶ | sub BUILD { |
|
Subroutine
BUILD: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 27 | 7 | my $self = shift; | |
| 28 | |||
| 29 | 7 | check_required($self, 'count'); | |
| 30 | 6 | check_required($self, 'uid'); | |
| 31 | 5 | check_required($self, 'username'); | |
| 32 | |||
| 33 | 4 | return; | |
| 34 | } | ||
| 35 | |||
| 36 | 6 | 1; | |
| 37 | |||
| 38 | __END__ | ||