use Config::IniFiles; my $cfg = new Config::IniFiles( -file => "conf.ini" ); $value = $cfg->val( "Section", "Parameter" ); print "Var: $value \n";