Mercurial > pub > Impl
view lib/IMPL/Config/Include.pm @ 408:5c80e33f1218 ref20150831
added 'coarsen' function
author | cin |
---|---|
date | Mon, 07 Sep 2015 01:35:25 +0300 |
parents | c6e90e02dd17 |
children |
line wrap: on
line source
package IMPL::Config::Include; use strict; use warnings; use IMPL::require { Conf => 'IMPL::Config', Exception => 'IMPL::Exception' }; sub restore { my ($self,$data) = @_; die Exception->new("A file name is required") if ref $data || not $data; return Conf->spawn($data); } 1;