blib/lib/Lingy/Macro.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 24 CC 2 SCAR 12.0
CC
2
Cov
0%
new
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.3
1 use strict; use warnings;
2 package Lingy::Macro;
3  
4 use base 'Lingy::Class';
5  
6 use Lingy::Common;
7  
8 sub new {
9 my ($class, $function) = @_;
10 XXX $function unless ref($function) eq FUNCTION;
11 bless sub { goto &$function }, $class;
12 }
13  
14 1;