in reply to Problem populating Hash (I think?)

Parsing an HTML file is actually a fairly difficult problem.
There are many ways to go wrong and only a few ways to go right.

I would suggest HTML Parser.

Can you post a short example, showing the data, of what you are trying to accomplish?

Update:
Although Perl does allow a 'C' style 'for' loop:
for (my $x=0; $x<@array; $x++){...} this is almost always the wrong idea, with the exception of numeric array processing.
"almost always" doesn't mean "never", it just means that this type of loop is seldom used.