#!/usr/bin/perl use warnings; use strict; use Config::General; my $configfile = 'configfile'; my $conf = new Config::General( -ConfigFile => $configfile, -InterPolateVars => 1, -InterPolateEnv => 1, ); my %config = $conf->getall; print $config{ungueltig};