blib/lib/MYDan/VSSH/History.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 27 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
push
2.0
list
2.0
CRAP 2.0
1 package MYDan::VSSH::History;
2 use strict;
3 use warnings;
4 use Carp;
5  
6 our @HISTORY;
7  
8 sub new
9 {
10 my $this = shift;
11 bless +{}, ref $this || $this;
12 }
13  
14 sub push
15 {
16 my ( $this, @name ) = @_;
17 push @HISTORY, @name;
18 }
19  
20 sub list
21 {
22 @HISTORY;;
23 }
24  
25 1;