in reply to Best way to parse my data

Read data by using hashes as below:

for($i=0; $i<= $inputlength; $i++){
   ${$sesctionname}{$groupname}{$hostname}=$status;
}

When you are reading values from hash refer keys.