Mercurial > pub > Impl
comparison Lib/IMPL/lang.pm @ 210:6adaeb86945d
added IMPL::Web::AutoLocator
author | sergey |
---|---|
date | Tue, 29 May 2012 20:07:22 +0400 |
parents | 4d0e1962161c |
children | d6e2ea24af08 |
comparison
equal
deleted
inserted
replaced
209:a8db61d0ed33 | 210:6adaeb86945d |
---|---|
163 | 163 |
164 return \%result; | 164 return \%result; |
165 } | 165 } |
166 | 166 |
167 sub hashMerge { | 167 sub hashMerge { |
168 return hashApply( { %{$_[0]} }, $_[1] ); | 168 return hashApply( { %{$_[0] || {}} }, $_[1] ); |
169 } | 169 } |
170 | 170 |
171 sub hashApply { | 171 sub hashApply { |
172 my ($target,$diff) = @_; | 172 my ($target,$diff) = @_; |
173 | 173 |