Help for this page
# This is my configuration file variable1=111 variable2=222
sub GetSetting { my ($cfg_value,$cfg_filename,$cfg_default)=@_; ... close CFGFILE; return $cfg_default; # Return default if we can't find the value }