Mildew/Backend.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use v5.10;
2 use MooseX::Declare;
3 role Mildew::Backend {
4 method output($what,$where) {
5 if ($where) {
6 open(my $out,">",$where);
7 binmode $out, ':utf8';
8 print $out $what;
9 } else {
10 binmode STDOUT, ':utf8';
11 print $what;
12 }
13 }
14 }