view lib/IMPL/Config/YAMLConfig.pm @ 420:df591e3afd10 ref20150831

sync
author cin
date Sat, 25 Feb 2017 22:35:26 +0300
parents bbc4739c4d48
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