Help for this page

Select Code to Download


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