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