Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Counting how many times item is occurring and adding the total from array help!

by CountZero (Bishop)
on Sep 14, 2012 at 19:34 UTC ( [id://993784]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Modern::Perl;
    use Data::Dump qw/dump/;
    
    ...
    Mario Att,00056789,022345,03/10/2010,ok@ok.com, MA,USA,40.00,outdated
    Maria Smither,12345678,00051,02/11/2011,no email, MA,USA,750.00,outdat
    +ed
    Dan Smither,12345678,00051,02/11/2011,no email, MA,USA,250.00,outdated
    
  2. or download this
    {
      "00051"  => [1000, 2],
      "01122"  => [-120, 1],
    ...
      "44592"  => [100, 1],
    }
    Grand Total = 2360
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-19 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found