title: Simple example of using data from a YAML configuration file in a Perl script
body: <p>I need to create a YAML file to store some configuration data for a Perl script. This seems like it should be really easy but I haven't been able to work it out, I think if I had just one simple example to copy I'd be fine. I want to do something like this:</p>
  
  <pre><code>-----test.yaml-----
  image_width: 500
  show_values: 0
  -------------------
  
  ------test.perl------
  use YAML;
  
  my (%settings) = Load('test.yaml');
  print "The image width is", $settings{image_width};
  ---------------------
  </code></pre>