in reply to Re: How to add values of hash by reading from different text files
in thread How to add values of hash by reading from different text files

Hi Beth,

Firstly, thank you so much for your really helpful reply.
I am using O'REILLY Learning Perl as my guide and reference book. However, hash of hashses and autovivification isn't in the book, which was why I got stuck
And honestly, i am not an IT student and I am self learning perl. I need to use this for some of my research work related to genetics.

Cheers
  • Comment on Re^2: How to add values of hash by reading from different text files

Replies are listed 'Best First'.
Re^3: How to add values of hash by reading from different text files
by CountZero (Bishop) on Apr 27, 2009 at 10:10 UTC
    A very good (and free) book to (self) learn Perk is "Beginning Perl" which can be found here. "use strict; and the use of my are explained in Chapter two, page 66.

    I use this book in the Perl programming course I teach in our local computer club.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James