Mercurial > pub > Impl
view Lib/IMPL/Config/Include.pm @ 333:cd6409f66a5f
small fixes, request environment is deprecated
author | cin |
---|---|
date | Tue, 11 Jun 2013 20:22:52 +0400 |
parents | d63f9a92d6d4 |
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;