view lib/IMPL/Config/YAMLConfig.pm @ 419:bbc4739c4d48 ref20150831

working on IMPL::Config::Container
author cin
date Sun, 29 Jan 2017 10:30:20 +0300
parents 3f38dabaf5cc
children 7798345304bc
line wrap: on
line source

package IMPL::Config::YAMLConfig;
use strict;

use IMPL::lang qw(:base);
use IMPL::Exception();
use YAML::XS();

sub Load {
	my ( $this, $container, $file ) = @_;

	$this->Configure( isscalar($file)
		? YAML::XS::Load( ${$file} )
		: YAML::XS::LoadFile($file) );
}

sub Configure {
	my ( $this, $container, $config ) = @_;
	
	

}

1;

__END__

=pod


=cut