| 1 | package Sweat::Drill; | ||
| 2 | |||
| 3 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 3 | ▶ | use Types::Standard qw(Bool Str); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 3 | ▶ | use List::Util qw(shuffle); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 3 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 3 | ▶ | use namespace::clean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 3 | has 'requires_a_chair' => ( | |
| 13 | is => 'ro', | ||
| 14 | default => 0, | ||
| 15 | isa => Bool, | ||
| 16 | ); | ||
| 17 | |||
| 18 | 3 | has 'name' => ( | |
| 19 | is => 'ro', | ||
| 20 | required => 1, | ||
| 21 | isa => Str, | ||
| 22 | ); | ||
| 23 | |||
| 24 | 3 | has 'requires_jumping' => ( | |
| 25 | is => 'ro', | ||
| 26 | default => 0, | ||
| 27 | isa => Bool, | ||
| 28 | ); | ||
| 29 | |||
| 30 | 3 | has 'requires_side_switching' => ( | |
| 31 | is => 'ro', | ||
| 32 | default => 0, | ||
| 33 | isa => Bool, | ||
| 34 | ); | ||
| 35 | |||
| 36 | 3 | has 'is_used' => ( | |
| 37 | is => 'rw', | ||
| 38 | default => 0, | ||
| 39 | isa => Bool, | ||
| 40 | ); | ||
| 41 | |||
| 42 | 3 | 1; | |
| 43 | |||
| 44 | =head1 Sweat::Drill - Library for the `sweat` command-line program | ||
| 45 | |||
| 46 | =head1 DESCRIPTION | ||
| 47 | |||
| 48 | This library is intended for internal use by the L<sweat> command-line program, | ||
| 49 | and as such offers no publicly documented methods. | ||
| 50 | |||
| 51 | =head1 SEE ALSO | ||
| 52 | |||
| 53 | L<sweat> | ||
| 54 | |||
| 55 | =head1 AUTHOR | ||
| 56 | |||
| 57 | Jason McIntosh <jmac@jmac.org> | ||