is much better written aswhile (@interval=<PHILE>){ foreach $line(@interval){ chop $line; @werdz=split(/ / ,$line); $space=@werdz; analyize($space,@werdz); } }
while (<PHILE>) { chomp; my @werdz = split; analyze( scalar @werdz, @werdz ); }
You also really need to look at adding strict and warnings to your code. *winces*
Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.
In reply to Re: Frequency Analysis with Lists
by dragonchild
in thread Frequency Analysis with Lists
by dReKurCe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |