Acme-constant

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

---
abstract: 'Like constant, except actually not.'
author:
  - 'Konrad Borowski <glitchmr@myopera.com>'
build_requires:
  Test::More: 0
  utf8: 0
configure_requires:
  ExtUtils::MakeMaker: 6.30
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.300038, CPAN::Meta::Converter version 2.120921'
license: mit
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: 1.4
name: Acme-constant
requires:

Makefile.PL  view on Meta::CPAN

  "EXE_FILES" => [],
  "LICENSE" => "mit",
  "NAME" => "Acme::constant",
  "PREREQ_PM" => {
    "Carp" => 0,
    "strict" => 0,
    "strictures" => 1
  },
  "TEST_REQUIRES" => {
    "Test::More" => 0,
    "utf8" => 0
  },
  "VERSION" => "0.1.3",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};

t/tests.t  view on Meta::CPAN

use strictures 1;
use Test::More tests => 27;
use utf8;

BEGIN {
    require_ok 'Acme::constant';
    use_ok 'Acme::constant', A => 'B';
    use_ok 'Acme::constant', B => 1, 2, 3;
    use_ok 'if', 1, 'Acme::constant', C => 8;
    use_ok 'if', 0, 'Acme::constant', D => 16;
    # π needs to be quoted in order to not confuse PPI.
    use_ok 'Acme::constant', "Ï€", 4 * atan2 1, 1;
    use_ok 'Acme::constant', "\0" => "NULL";



( run in 0.468 second using v1.01-cache-2.11-cpan-49f99fa48dc )