blib/lib/Business/TPGPost.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 93.7% 15 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
new
1.0
CRAP 1.0
↑ Summary
1 package Business::TPGPost;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Business::TNTPost::NL;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $VERSION = '0.05';
7 1 our $ERROR = $Business::TNTPost::NL::ERROR;
8  
9 1 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
10 1 shift; unshift @_, 'Business::TNTPost::NL';
11 1 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<Business::TNTPost::NL>. Please don't accept this to work very well.
42 Please update your scripts to use the new L<Business::TNTPost::NL>.
43 This module will C<not> get updated anymore. All updates will be
44 in L<Business::TNTPost::NL>.
45  
46 =head1 AUTHOR
47  
48 M. Blom,
49 E<lt>blom@cpan.orgE<gt>,
50 L<http://menno.b10m.net/perl/>
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<Business::TNTPost::NL>,
63 L<http://www.tntpost.nl/overtntpost/nieuwspers/persberichten/2006/10/naamswijziging.aspx>
64  
65 =cut
66  
67 #################### main pod documentation end ###################
68  
69 1 1;
↑ Summary