in reply to Re: Re: Word Counting
in thread Word Counting

Use split(); e.g.,
# Assuming %words is the hash where you keep all the words $words{$_}++ for split /\s+/, $line;
--perlplexer