http://www.perlmonks.org?node_id=415991


in reply to Re^3: getting the highest value in a simpler way
in thread getting the highest value in a simpler way

Hey!

I understand!! ;-)
So, in exmaple:
my $x = 5 my $y = 10 my $highestvalue = [ $x => $y ] -> [ $x <= $y ] #we have @aray(5,10) and because (5 <= 10) it returns 1, so $highestvalue = aray[1] thats mean 10 in this example, right?

Eh, nice trick... ;-)
Thanks for you reply.
Uksza