Mercurial > pub > Impl
comparison lib/IMPL/Config/Container.pm @ 419:bbc4739c4d48 ref20150831
working on IMPL::Config::Container
| author | cin |
|---|---|
| date | Sun, 29 Jan 2017 10:30:20 +0300 |
| parents | 3f38dabaf5cc |
| children | df591e3afd10 |
comparison
equal
deleted
inserted
replaced
| 418:3f38dabaf5cc | 419:bbc4739c4d48 |
|---|---|
| 104 } | 104 } |
| 105 | 105 |
| 106 return \@result; | 106 return \@result; |
| 107 } | 107 } |
| 108 | 108 |
| 109 sub Configure { | |
| 110 my ($this, $config) = @_; | |
| 111 | |
| 112 if (isarray($config)) { | |
| 113 $this->Configure($_) foreach @$config; | |
| 114 } elsif (ishash($config)) { | |
| 115 | |
| 116 } else { | |
| 117 die IMPL::ArgumentException->new(config => 'Either a hash or an array is required'); | |
| 118 } | |
| 119 } | |
| 120 | |
| 121 sub ParseDescriptor { | |
| 122 my ($this, $data) = @_; | |
| 123 | |
| 124 if () | |
| 125 } | |
| 126 | 109 |
| 127 1; | 110 1; |
| 128 | 111 |
| 129 __END__ | 112 __END__ |
| 130 | 113 |
