use strict; use warnings; use Data::Dumper; use Config::General; my $conf = new Config::General( -String => <<'CONFIG' ); CONFIG print Dumper( { $conf->getall() } ); exit;