On Mon, 12 Apr 2010 23:04:53 -0500, Owen Chavez wrote: > Can you suggest a reference on hashes that will provide some clue as to > how they can be used for the problem I posted? I've looked over > Programming Perl (3rd) and it's not entirely clear to me how to proceed > with a hash.
Learning Perl 5th ed. by Randal, Tom, and brian is the best book for what you want. If you want a video, there is my Perl Fundamentals (informit link below). And if you want an online instruction course, the O'Reilly School of Technology (last link below). You're just counting how many times a pronoun shows up in a list of words extracted from text. The core of such code will be something like: $is_pronoun{lc $word} and $count{lc $word}++; -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http://www.informit.com/store/product.aspx?isbn=0137001274 http://www.oreillyschool.com/courses/perl1/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/