File Coverage

blib/lib/Business/TPGPost.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 1 0.0
total 12 13 92.3


line stmt bran cond sub pod time code
1             package Business::TPGPost;
2              
3 1     1   38052 use strict;
  1         2  
  1         42  
4 1     1   2249 use Business::TNTPost::NL;
  1         49478  
  1         13  
5              
6             our $VERSION = '0.05';
7             our $ERROR = $Business::TNTPost::NL::ERROR;
8              
9             sub new {
10 1     1 0 13 shift; unshift @_, 'Business::TNTPost::NL';
  1         4  
11 1         9 goto &Business::TNTPost::NL::new;
12             }
13             #################### main pod documentation begin ###################
14              
15             =head1 NAME
16              
17             Business::TPGPost - [OBSOLETE] See Business::TNTPost::NL
18              
19             =head1 SYNOPSIS
20              
21             use Business::TPGPost;
22              
23             my $tpg = Business::TPGPost->new();
24             my $costs = $tpg->calculate(
25             country =>'DE',
26             weight => 534,
27             large => 1,
28             tracktrace => 1,
29             register => 1,
30             receipt => 1
31             ) or die $Business::TPGPost::ERROR;
32              
33             =head1 DESCRIPTION
34              
35             On 14 september 2005, TPG Post announced their new name TNT Post. Unfortunately
36             the author of this module missed this name change and went for
37             Business::TPGPost. On 16 october 2006, it was official, the name TPG Post
38             was not used anymore and thus this module was doomed.
39              
40             This module now is a very simple wrapper around the new
41             L. Please don't accept this to work very well.
42             Please update your scripts to use the new L.
43             This module will C get updated anymore. All updates will be
44             in L.
45              
46             =head1 AUTHOR
47              
48             M. Blom,
49             Eblom@cpan.orgE,
50             L
51              
52             =head1 COPYRIGHT
53              
54             This program is free software; you can redistribute
55             it and/or modify it under the same terms as Perl itself.
56              
57             The full text of the license can be found in the
58             LICENSE file included with this module.
59              
60             =head1 SEE ALSO
61              
62             L,
63             L
64              
65             =cut
66              
67             #################### main pod documentation end ###################
68              
69             1;