title: Read config hash-like data into perl hash
body: <p>I have a config file <code>config.txt</code> like</p>
  
  <pre><code>{sim}{time}{end}=63.1152e6;
  {sim}{output}{times}=[2.592e6,31.5576e6,63.1152e6];
  {sim}{fluid}{comps}=[ ['H2O','H_2O'], ['CO2','CO_2'],['NACL','NaCl'] ];
  </code></pre>
  
  <p>I would like to read this into a perl hash,</p>
  
  <pre><code>my %h=read_config('config.txt');
  </code></pre>
  
  <p>I have checked out module <a href="http://search.cpan.org/~minimal/Config-Hash-0.920/lib/Config/Hash.pm" rel="nofollow">Config::Hash</a> , but it does not offer the same input file format.</p>