http://qs1969.pair.com?node_id=81556


in reply to New perl student... feeling stupid

What's happend is that you've created a hash %count to contain all your information, but in your code, you use scalar variables $vow, $para, etc, etc.

What you want is $count{'vow'}++ for vowels, $count{'para'}++ for paragraphs, etc, etc...



FouRPlaY
Learning Perl or Going To die() Trying