# This is my sample config file TEMPLATE_FOO = 1 TEMPLATE_BAR = two OPTION_THREE = baz THIS_BREAKS = \ MULTILINE = \ Foo \ Bar \ Baz #### use strict; use warnings; use Data::Dump qw(dump ddx); use Config::General; my $conf = Config::General->new(-ConfigFile => "sample.conf"); my %prev_config = $conf->getall; print dump(\%prev_config); #### { OPTION_THREE => "baz", TEMPLATE_BAR => "two", TEMPLATE_FOO => 1, THIS_BREAKS => "MULTILINE\t= Foo\tBar\tBaz", }