Lingua-Klingon-Recode

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

my $build = Module::Build->new(
    module_name => 'Lingua::Klingon::Recode',
    license => 'bsd',
    requires => {
      'perl' => '5.005_03',
      'Carp' => 0,
    },
    build_requires => {
      'Module::Build' => 0,
      'Test::More' => '0.19',
      'Test::Differences' => 0,
    },
    create_makefile_pl => 'passthrough',
);

my $failures = $build->prereq_failures();
if($failures) {
  while (my ($type, $list) = each %$failures) {
    while (my ($name, $hash) = each %$list) {
      print "Failure for $name: $hash->{message}\n";
    }

META.yml  view on Meta::CPAN

version: 1.02
author:
  - Philip Newton, E<lt>pne@cpan.orgE<gt>
abstract: Convert Klingon words between different encodings
license: bsd
requires:
  Carp: 0
  perl: 5.005_03
build_requires:
  Module::Build: 0
  Test::Differences: 0
  Test::More: 0.19
provides:
  Lingua::Klingon::Recode:
    file: lib/Lingua/Klingon/Recode.pm
    version: 1.02
generated_by: Module::Build version 0.25

README  view on Meta::CPAN

   perl Build install

For compatibility, there is also a Makefile.PL provided; this is a
wrapper around Build.PL.

DEPENDENCIES

This module requires these other modules and libraries:

  Test::More (v0.19 or higher)
  Test::Differences
  Module::Build

These modules are only required to test and install the module; no further
modules are needed at run time.

COPYRIGHT AND LICENCE

Copyright (C) 2003, 2004 by Philip Newton.  All rights reserved.

Redistribution and use in source and binary forms, with or without

t/03_list.t  view on Meta::CPAN

# vim:set filetype=perl sw=4 et:

#########################

use Test::More tests => 2;
use Test::Differences;
use Carp;

BEGIN {use_ok 'Lingua::Klingon::Recode', ':all'; }

eq_or_diff [ recode('tlhIngan Hol', 'XIFAN HOL', qw/tlhIngan Hol Dajatlh'a'/) ],
           [ qw/XIFAN HOL DAJAX'A'/ ],
           "list output of recode";



( run in 0.324 second using v1.01-cache-2.11-cpan-131fc08a04b )