| 1 | # Mini class for entries of the file mapping hash. | ||
| 2 | package Bio::RNA::BarMap::Mapping::FileMappingEntry; | ||
| 3 | 5 | our $VERSION = '0.04'; | |
| 4 | |||
| 5 | 5 | ▶ | use 5.012; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 5 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 5 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 5 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | |||
| 12 | 5 | has 'name' => (is => 'ro', required => 1); | |
| 13 | # Ensure object is cleaned after use => use weak refs | ||
| 14 | 5 | has [qw(from to)] => (is => 'rw', weak_ref => 1); | |
| 15 | |||
| 16 | 5 | __PACKAGE__->meta->make_immutable; | |
| 17 | |||
| 18 | 5 | 1; | |
| 19 | |||
| 20 | __END__ | ||