use YAML(); our %Config = YAML::LoadFile('./home/app/profile'); #### --- foo: bar arrayref: - 1 - 2 - 3 hashref: foo: bar baz: bar