Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Loosing Negative Values in Array Ref

by Anonymous Monk
on Jun 03, 2009 at 13:33 UTC ( #768011=note: print w/ replies, xml ) Need Help??


in reply to Re: Loosing Negative Values in Array Ref
in thread Loosing Negative Values in Array Ref

To avoid duplicated records I am using this code to combine them, getting a unique account number (second element) and the greatest values comparing them if they are equal, if you run the code you will see it better, but how could I still display the negatives?


Comment on Re^2: Loosing Negative Values in Array Ref
Re^3: Loosing Negative Values in Array Ref
by Thelonius (Curate) on Jun 03, 2009 at 14:17 UTC
    getting a unique account number (second element)
    Your code my $uniq_key = $aref->[0]; is actually using the name, not the account number.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2014-08-29 21:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (289 votes), past polls