I have the below hash:
my %releaseMap = {"rel1.2.3" => {
"supporedPorts" => ["lnx86", "lnppc"],
"branch" => ["DEV"],
},
"rel2.4" => {
"supporedPorts" => ["lnx86", "lnppc"],
"branch" => ["DEV"],
}
};
I want to get the values rel1.2.3 and rel2.4 in the variable $rel, I want to get the values lnx86 and lnppc in $port and I want to get the value DEV in $branch.
I am new to the Hash concept in perl, I am not able to figure out how this can be done.
Can someone please help. Thanks