# in ini file [Section1] foo=bar baz=quux [Section2] perl=cool #### # in program after reading file with Config::Tiny # note you can use them in any order you want my $perl = $ini->{'Section2'}->{'perl'}; my $baz = $ini->{'Section1'}->{'baz'}; my $foo = $ini->{'Section1'}->{'foo'}; ####