Shipment.pm untested

filter: Statementstmt 0.0% 0 / 39 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 15 Podpod 0.0% 0 / 8 totaltotal 0.0% 0 / 62 CC 1 SCAR 6.9
CC
1
Cov
0%
generic
2.0
canadapost
2.0
fedex
2.0
CRAP 2.0
1 # ABSTRACT: Interface to Popular Shipping Services
2 package Shipment;
3 $Shipment::VERSION = '3.11';
4 use Shipment::Address;
5 use Shipment::Package;
6  
7 use Shipment::Generic;
8 use Shipment::FedEx;
9 use Shipment::Purolator;
10 use Shipment::UPS;
11 use Shipment::Temando;
12  
13  
14 sub generic {
15 shift;
16 return Shipment::Generic->new(@_);
17 }
18  
19  
20 sub canadapost {
21 shift;
22 return Shipment::CanadaPost->new(@_);
23 }
24  
25  
26 sub fedex {
27 shift;
28 return Shipment::FedEx->new(@_);
29 }
30  
31  
32 sub purolator {
33 shift;
34 return Shipment::Purolator->new(@_);
35 }
36  
37  
38 sub ups {
39 shift;
40 return Shipment::UPS->new(@_);
41 }
42  
43  
44 sub temando {
45 shift;
46 return Shipment::Temando->new(@_);
47 }
48  
49  
50 sub address {
51 shift;
52 return Shipment::Address->new(@_);
53 }
54  
55  
56 sub package {
57 shift;
58 return Shipment::Package->new(@_);
59 }
60  
61  
62 1;
63  
64 __END__