C:\Dokumente und Einstellungen\sak>perl use YAML; my ($hashref, $arrayref, $string) = Load(<<'--END'); --- name: ingy age: old weight: heavy # I should comment that I also like pink, but don't tell anybody. favorite colors: - red - white - blue --- - clark - oren - ingy --- ] You probably think YAML stands for "Yet Another Markup Language". It ain't! YAML is really a data serialization language. But if you want to think of it as a markup, that's OK with me. A lot of people try to use XML as a serialization format. "YAML" is catchy and fun to say. Try it. "YAML, YAML, YAML!!!" --END print Store($string, $arrayref, $hashref); use Data::Dumper; print Dumper($string, $arrayref, $hashref); ^Z --- !perl/YAML::Error code: YAML_PARSE_ERR_INCONSISTENT_INDENTATION msg: Inconsistent indentation level line: 15 document: 3 ... at - line 2