If i have three variables with integer and want to find which one is the largest one(not only the max integer), e.g if a is 3, b is 4 and c is 5, the I want to know c is the largest rather than return a 5 to me. How to achieve this or I should use
use List::Util
$d = max($a,$b,$c);
if($d == $a){}
elsif($d == $b){}
else{}
By using separate variables, you make pretty much anything impossible. Say you were using an array instead.