Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Find highest value

by linseyr (Acolyte)
on Sep 19, 2012 at 14:34 UTC ( #994469=note: print w/ replies, xml ) Need Help??


in reply to Re: Find highest value
in thread Find highest value

Thank you for your answer. But the last columns are classes and totals of classes, so I only want to find the maximum of the totals of classes. I should select only subset of the @values and put in array then, but this doesn't work:

push(@totals, values[1], values[3], values[5], values[7]);
Is there a way to do this? I want to find the class for which the total of class is the highest, and print the class name..


Comment on Re^2: Find highest value
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994469]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2014-12-20 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls