Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Reading through a file and checking for a specific string

by poj (Priest)
on Aug 19, 2013 at 20:34 UTC ( #1050086=note: print w/ replies, xml ) Need Help??


in reply to Reading through a file and checking for a specific string

Your counts are in @counts not @sums

for( $j=0; $j<@types; $j++ ) { print "$types[$j]\t: $counts[$j] \n"; } print "Total\t: $sum";


Comment on Re: Reading through a file and checking for a specific string
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2015-06-03 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (116 votes), past polls