I have a hash with 5 keys, each of these keys have 5 values
foreach $a(@mass){
if($a=~some regex){
@value=($1,$2,$3,$4,$5);
$hash{"keysname$c"}="@value";
c++;
}
}
Each scalar is a value of different parameters , I have to determinate the highest value of the first array for the all keys in hash
Edit:
Code must compare first value of key1 with first value of key2, key3...key5 and print the highest one
"@value"
is still not an array, though, it is a string. If you assigned\@value
then it would be an array, but then you would need to use a lexically scoped array. – TLP