#!/usr/bin/perl -w use YAML; use Smart::Comments '###'; my $data = YAML::LoadFile('text.conf'); ### $data