Help for this page

Select Code to Download


  1. or download this
    [prod]
    ftp_host   = ftp.uslec.net
    ...
    log_method = both
    def_email  = someonetest@somewhere.com
    LOGFILE    = /u20/home/gvc/log/somethingtest.log
    
  2. or download this
    use Config::IniFiles;
    our (%cfg);
    ...
    tie %ini, 'Config::IniFiles', (-file => "config.ini");
    %cfg = %{$ini{'prod'}};
    print "I will FTP files to" . $cfg{ftp_host};