Worker.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 23 CC 2 SCAR 12.8
CC
2
Cov
0%
import
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.6
1 package Cantella::Worker;
2  
3 use strict;
4 use warnings;
5 use Carp qw/cluck/;
6  
7 our $VERSION = '0.002003';
8 $VERSION = eval $VERSION;
9  
10 sub import {
11 my $package = shift;
12 return unless @_;
13 my $error = "Tried to import the symbols " . join(', ', @_)
14 . " from Cantella::Worker.\nDid you mean Cantella::Worker::Role::Worker"
15 . " or Cantella::Worker::Manager::Prefork?";
16 cluck($error);
17 }
18  
19 1;
20  
21 __END__;