Promoter/SaveTypes.pm

filter: Statementstmt 100% 3 / 3 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 4 / 4 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Promoter/Annotations/Consensus.pm ↑ Summary Promoter/SaveTypes/Base.pm »
1 package BioX::SeqUtils::Promoter::SaveTypes;
2 ####################################################################
3 # Charles Stephen Embry #
4 # MidSouth Bioinformatics Center #
5 # University of Arkansas Little Rock #
6 ####################################################################
7 1 ▶use base qw(BioX::SeqUtils::Promoter::Base);
Subroutine BEGIN: called CC=1 SCAR=0.0
8 use Class::Std;
9 use Class::Std::Utils;
10 use Module::Runtime qw(use_module);
11  
12 use BioX::SeqUtils::Promoter::Sequences;
13  
14 use warnings;
15 use strict;
16 use Carp;
17  
18 use version; our $VERSION = qv('0.1.1');
19  
20 {
21 no warnings 'redefine';
22 sub new {
23 my ($self, $arg_ref) = @_;
24 my $savetypes = defined $arg_ref->{savetypes} ? $arg_ref->{savetypes} : '';
25 return use_module('BioX::SeqUtils::Promoter::SaveTypes::' . $savetypes, 0.1.1)->new( $arg_ref );
26 }
27  
28  
29  
30 }
31  
32 1; # Magic true value required at end of module
33 __END__
« Promoter/Annotations/Consensus.pm ↑ Summary Promoter/SaveTypes/Base.pm »