Config-Reload

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: 1.4
name: Config-Reload
requires:
  Config::ZOMG: 0
  Digest::MD5: 0
  Exporter: 0
  Moo: 0
  Sub::Quote: 0
  Try::Tiny: 0
  parent: 0
  perl: v5.10.0
  strict: 0
resources:
  bugtracker: https://github.com/nichtich/Config-Reload/issues
  homepage: https://github.com/nichtich/Config-Reload
  repository: https://github.com/nichtich/Config-Reload.git
version: 0.21

Makefile.PL  view on Meta::CPAN

  "DISTNAME" => "Config-Reload",
  "EXE_FILES" => [],
  "LICENSE" => "perl",
  "NAME" => "Config::Reload",
  "PREREQ_PM" => {
    "Config::ZOMG" => 0,
    "Digest::MD5" => 0,
    "Exporter" => 0,
    "Moo" => 0,
    "Sub::Quote" => 0,
    "Try::Tiny" => 0,
    "parent" => 0,
    "strict" => 0
  },
  "TEST_REQUIRES" => {
    "Data::Dumper" => 0,
    "File::Basename" => 0,
    "File::Temp" => 0,
    "Test::More" => 0,
    "warnings" => 0
  },

lib/Config/Reload.pm  view on Meta::CPAN

#ABSTRACT: Load config files, reload when files changed.

use v5.10;
use strict;

use Config::ZOMG '1.000000';

use Moo;
use Sub::Quote 'quote_sub';
use Digest::MD5 qw(md5_hex);
use Try::Tiny;

use parent 'Exporter';
our @EXPORT_OK = qw(files_hash);


has wait    => (
    is      => 'rw',
    default => quote_sub q{ 60 },
);



( run in 0.562 second using v1.01-cache-2.11-cpan-05444aca049 )