I just don't see where I'm not correctly imitating the syntax shown on Config::Tiny
Part way through you've stopped using a hashref and started using a hash. Just stick with the hashref. eg:
my $Config = Config::Tiny->new; $Config = Config::Tiny->read( $ini_path , 'utf8' ); say Dumper $Config; my $domain = $Config->{$sub_hash}->{'domain'}; my $username = $Config->{$sub_hash}->{'username'}; my $password = $Config->{$sub_hash}->{'password'}; my $port = $Config->{$sub_hash}->{'port'};
HTH.
In reply to Re^5: redacting from config hash
by hippo
in thread redacting from config hash
by Aldebaran
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |