Skip to content

Latest commit

 

History

History
69 lines (41 loc) · 1.77 KB

README.md

File metadata and controls

69 lines (41 loc) · 1.77 KB

Amazon::Sites

A Perl class that contains information about the various international Amazon sites.

Badges

Hopefully, these are all green.

CI Coverage Status Kwality

Example

use Amazon::Sites;

my $az = Amazon::Sites->new;

my $az_uk = $az->site('UK');

say $az_uk->currency; # GBP
say $az_uk->tldn;     # co.uk
say $az_uk->domain;   # amazon.co.uk

For more documentation visit:

Or run perldoc Amazon::Sites once you have installed the module.

Installation

The traditional way to install a Perl module is to download the latest zipped tarball from CPAN (https://metacpan.org/dist/Amazon-Sites) and then run through the following steps:

  1. unzip Amazon-Sites-X.X.X.tar.gz
  2. tar xvf Amazon-Sites-X.X.X.tar
  3. cd Amazon-Sites-X.X.X
  4. perl Makefile.PL
  5. make test
  6. make install

But there are programs that make this easier. For example, cpan comes as part of the standard Perl installation:

  • cpan Amazon::Sites

And many people use cpanm instead:

  • cpanm Amazon::Sites

Code

The code is maintained on GitHub.

Questions, bugs and feature requests

All issues are tracked on GitHub:

Author