in reply to Frequency Analysis with Lists

... while (@interval=<PHILE>){ ...
Yowch! Hope you're not working with any huge files!