#!/usr/local/bin/perl -w use strict; use Config::Scoped; use Data::Dumper; my $parser = Config::Scoped->new( file => 'e.cfg' ); my $config = $parser->parse; print Dumper($config);