or download this
# get login data for using Config::Tiny
use Config::Tiny;
my $ini_path = qw( /home/hogan/Documents/html_template_data/3.values
+.ini );
...
my $username = $Config->{$sub_hash}{'username'};
my $password = $Config->{$sub_hash}{'password'};
say "values are $username $password ";