Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Business::TNTPost::NL 0.11

    Download button

    No screenshots available
    Downloads: 195  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Menno Blom | More programs
    Perl Artistic License / FREE
    March 2nd, 2012, 02:08 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Business::TNTPost::NL description

    Calculate Dutch (TNT Post) shipping costs

    Business::TNTPost::NL is a Perl module that calculates the shipping costs for the Dutch TNT Post, based on country, weight and priority shipping (or not), etc.

    The shipping cost information is based on 'Tarieven Januari 2009'.

    It returns the shipping costs in euro or undef (which usually means the parcel is heavier than the maximum allowed weight; check $Business::TNTPost::NL::ERROR).

    SYNOPSIS

     use Business::TNTPost::NL;

     my $tnt = Business::TNTPost::NL->new();
     $tnt->country('DE');
     $tnt->weight('534');
     $tnt->large(1);
     $tnt->priority(1);
     $tnt->tracktrace(1);
     $tnt->register(1);
     $tnt->receipt(1);

     my $costs = $tnt->calculate or die $Business::TNTPost::NL::ERROR;


    or

     use Business::TNTPost::NL;

     my $tnt = Business::TNTPost::NL->new();
     my $costs = $tnt->calculate(
     country =>'DE',
     weight => 534,
     large => 1,
     tracktrace => 1,
     register => 1,
     receipt => 1
     ) or die $Business::TNTPost::NL::ERROR;



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    shipping costs | TNT Post | Perl module | TNT | shipping | costs

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM