Const-Exporter
    
    
  
  
  
view release on metacpan or search on metacpan
  - Add Const::Fast::const to @EXPORT_OK.
  [Bug Fixes]
  - Remove unnecessary test dependencies.
  - Add missing developer dependency for Test::Warnings.
v0.3.0    2018-01-16 00:45:52+00:00 Europe/London
  [Enhancements]
  - Switch to use Ref::Util.
  [Documentation]
  - Added note about dependencies.
  - Add example for dynamically creating constants at runtime, #4
    (B. Estrade).
  - Fixed typos (B. Estrade).
  - Mention Const::Fast::Exporter in SEE ALSO, #13.
            "Test::Pod::Coverage" : "1.08",
            "Test::Pod::LinkCheck" : "0",
            "Test::Portability::Files" : "0",
            "Test::TrailingSpace" : "0.0203"
         }
      },
      "runtime" : {
         "recommends" : {
            "List::SomeUtils::XS" : "0",
            "Package::Stash::XS" : "0",
            "Ref::Util::XS" : "0",
            "Storable" : "3.05"
         },
         "requires" : {
            "Carp" : "0",
            "Const::Fast" : "0",
            "Exporter" : "5.57",
            "List::Util" : "1.56",
            "Package::Stash" : "0",
            "Ref::Util" : "0",
            "perl" : "v5.14.0",
            "warnings" : "0"
         }
      },
      "test" : {
         "recommends" : {
            "CPAN::Meta" : "2.120900"
         },
         "requires" : {
            "File::Spec" : "0",
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Const-Exporter
provides:
  Const::Exporter:
    file: lib/Const/Exporter.pm
    version: v1.3.0
recommends:
  List::SomeUtils::XS: '0'
  Package::Stash::XS: '0'
  Ref::Util::XS: '0'
  Storable: '3.05'
requires:
  Carp: '0'
  Const::Fast: '0'
  Exporter: '5.57'
  List::Util: '1.56'
  Package::Stash: '0'
  Ref::Util: '0'
  perl: v5.14.0
  warnings: '0'
resources:
  bugtracker: https://github.com/robrwo/Const-Exporter/issues
  repository: git://github.com/robrwo/Const-Exporter.git
version: v1.3.0
x_authority: cpan:RRWO
x_contributors:
  - 'Slaven ReziÄ <slaven@rezic.de>'
  - 'B. Estrade <estrabd@cpan.org>'
Makefile.PL view on Meta::CPAN
  "DISTNAME" => "Const-Exporter",
  "LICENSE" => "artistic_2",
  "MIN_PERL_VERSION" => "5.014000",
  "NAME" => "Const::Exporter",
  "PREREQ_PM" => {
    "Carp" => 0,
    "Const::Fast" => 0,
    "Exporter" => "5.57",
    "List::Util" => "1.56",
    "Package::Stash" => 0,
    "Ref::Util" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "File::Spec" => 0,
    "Hash::Objectify" => 0,
    "Module::Metadata" => "1.000015",
    "Sub::Identify" => "0.06",
    "Test::More" => 0,
    "Test::Most" => 0,
    "if" => 0,
Makefile.PL view on Meta::CPAN
my %FallbackPrereqs = (
  "Carp" => 0,
  "Const::Fast" => 0,
  "Exporter" => "5.57",
  "ExtUtils::MakeMaker" => "7.22",
  "File::Spec" => 0,
  "Hash::Objectify" => 0,
  "List::Util" => "1.56",
  "Module::Metadata" => "1.000015",
  "Package::Stash" => 0,
  "Ref::Util" => 0,
  "Sub::Identify" => "0.06",
  "Test::More" => 0,
  "Test::Most" => 0,
  "if" => 0,
  "lib" => 0,
  "strict" => 0,
  "warnings" => 0
);
# This file is generated by Dist::Zilla::Plugin::CPANFile v6.032
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
requires "Carp" => "0";
requires "Const::Fast" => "0";
requires "Exporter" => "5.57";
requires "List::Util" => "1.56";
requires "Package::Stash" => "0";
requires "Ref::Util" => "0";
requires "perl" => "v5.14.0";
requires "warnings" => "0";
recommends "List::SomeUtils::XS" => "0";
recommends "Package::Stash::XS" => "0";
recommends "Ref::Util::XS" => "0";
recommends "Storable" => "3.05";
on 'build' => sub {
  requires "ExtUtils::MakeMaker" => "7.22";
  requires "Module::Metadata" => "1.000015";
};
on 'test' => sub {
  requires "File::Spec" => "0";
  requires "Hash::Objectify" => "0";
lib/Const/Exporter.pm view on Meta::CPAN
use v5.14;
use warnings;
our $VERSION = 'v1.3.0';
use Carp;
use Const::Fast;
use Exporter 5.57 ();
use List::Util 1.56 qw/ pairs mesh /;
use Package::Stash;
use Ref::Util qw/ is_blessed_ref is_arrayref is_coderef is_hashref is_ref /;
# RECOMMEND PREREQ: List::SomeUtils::XS
# RECOMMEND PREREQ: Package::Stash::XS
# RECOMMEND PREREQ: Ref::Util::XS
# RECOMMEND PREREQ: Storable 3.05
sub import {
    my $pkg = shift;
    strict->import;
    warnings->import;
    my $caller = caller;
    my $stash  = Package::Stash->new($caller);
t/00-report-prereqs.dd view on Meta::CPAN
                                      'Test::Pod::Coverage' => '1.08',
                                      'Test::Pod::LinkCheck' => '0',
                                      'Test::Portability::Files' => '0',
                                      'Test::TrailingSpace' => '0.0203'
                                    }
                    },
       'runtime' => {
                      'recommends' => {
                                        'List::SomeUtils::XS' => '0',
                                        'Package::Stash::XS' => '0',
                                        'Ref::Util::XS' => '0',
                                        'Storable' => '3.05'
                                      },
                      'requires' => {
                                      'Carp' => '0',
                                      'Const::Fast' => '0',
                                      'Exporter' => '5.57',
                                      'List::Util' => '1.56',
                                      'Package::Stash' => '0',
                                      'Ref::Util' => '0',
                                      'perl' => 'v5.14.0',
                                      'warnings' => '0'
                                    }
                    },
       'test' => {
                   'recommends' => {
                                     'CPAN::Meta' => '2.120900'
                                   },
                   'requires' => {
                                   'File::Spec' => '0',
( run in 0.703 second using v1.01-cache-2.11-cpan-c333fce770f )