in reply to New perl student... feeling stupid

oops... I think you have gone astray somewhere there ...

firstly just declare the hash

my (%count);
Now where you have $para++;$sen++;$vow++; replace them with$count{'para'}++; etc....

Finally in your print statement you need both the key (para,sen,vow) and the values (2,5 ,whatever )so replace print "$value"; with print "$value : $count{$value};
You should probably replace the $value with $key because it is misleading (it actually is the key and not/ the value.

What you were doing was creating 3 new variables which had nothing to do with your script.

I just had a look at the rest of you script and it's a bit of a mess :-) I dont have time now but here's how I would count the sentences and vowels

undef $/; while(<>){ my @chars=split(//,$_); foreach my $char (@chars) { $count{'vow'}++ if(/[aeiou]/); $count{'sen'}++ if(/\./); }
Diarmuid