Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: frequency strings 2 files

by Cristoforo (Deacon)
on Jul 05, 2012 at 23:56 UTC ( #980183=note: print w/ replies, xml ) Need Help??


in reply to frequency strings 2 files

It will be no good for someone to give a solution to you without you working through the solution on your own.

You should see your teacher if you are having problems. That is the only way he will know if he is covering the material well enough for the students.

I panicked(?) when I got a programming assignment at school and I went to see the teacher. He didn't give a solution, but re-assured me that the assignment wasn't that difficult. He might have also given some idea where to head for a solution.

I would keep count of the numbers (and their repetitions) in a hash for file 1, then open the second file and print out the counts in the from file 1 for each number in file 2.


Comment on Re: frequency strings 2 files

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2014-09-23 19:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (239 votes), past polls