mwhamilton
Technical User
Hi, this is still going to sound crazy. I have a hash that looks like this:
%Total_Hash = (
"project_name" => {
"group_name" => {
"username" => [hours, percent],
"username2"=> [hours, percent],
"username3"=> [hours, percent],
},
"group_name2" => {
"username4" => [hours, percent],
},
"group_name3" => {
"username5" => [hours, percent],
},
},
"project_name2" => {
"group_name" => {
"username1" => [hours, percent],
"username2" => [hours, percent],
},
"group_name2" => {
"username4" => [hours, percent],
},
"group_name3" => {
"username5" => [hours, percent],
},
},
);
I am reading data from an inputfile with the variables project, group, username, and an array with [hours, percent]. As I read the inputfile while(<inputfile>), I need to populate the hash(of a hash of a hash on an array) with those variables. Please help! Thanks in advance!
%Total_Hash = (
"project_name" => {
"group_name" => {
"username" => [hours, percent],
"username2"=> [hours, percent],
"username3"=> [hours, percent],
},
"group_name2" => {
"username4" => [hours, percent],
},
"group_name3" => {
"username5" => [hours, percent],
},
},
"project_name2" => {
"group_name" => {
"username1" => [hours, percent],
"username2" => [hours, percent],
},
"group_name2" => {
"username4" => [hours, percent],
},
"group_name3" => {
"username5" => [hours, percent],
},
},
);
I am reading data from an inputfile with the variables project, group, username, and an array with [hours, percent]. As I read the inputfile while(<inputfile>), I need to populate the hash(of a hash of a hash on an array) with those variables. Please help! Thanks in advance!