File Coverage

blib/lib/Throwable/SugarFactory/Utils.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package Throwable::SugarFactory::Utils;
2              
3 4     4   21 use strictures 2;
  4         24  
  4         165  
4 4     4   3063 use parent 'Exporter';
  4         666  
  4         19  
5              
6             our $VERSION = '0.152690'; # VERSION
7              
8             # ABSTRACT: provide utility functions for Throwable::SugarFactory and friends
9              
10             #
11             # This file is part of Throwable-SugarFactory
12             #
13             #
14             # Christian Walde has dedicated the work to the Commons by waiving all of his
15             # or her rights to the work worldwide under copyright law and all related or
16             # neighboring legal rights he or she had in the work, to the extent allowable by
17             # law.
18             #
19             # Works under CC0 do not require attribution. When citing the work, you should
20             # not imply endorsement by the author.
21             #
22              
23             our @EXPORT_OK = qw( _getglob );
24              
25             ## no critic (ProhibitNoStrict)
26 4     4   334 sub _getglob { no strict 'refs'; \*{ join '::', @_ } }
  4     34   7  
  4         201  
  34         38  
  34         426  
27             ## use critic
28              
29             1;
30              
31             __END__