Help for this page

Select Code to Download


  1. or download this
    [Section2]
    user1=pass1:50
    user2=pass2:51
    
  2. or download this
    tie my %ini, 'Config::IniFiles', ( -file => "MyConfig.ini" );
    
  3. or download this
    foreach $user (keys %{$ini{'Section2'}}) {
        ($pass, $uid) = split /:/, $ini{'accounts'}{$user};
        #do something with the values here
    }