Thank you very much!
Since I have read a lot that one should not parse a HTML without a module I did not try this before either :-)
I will certainly check this approach out.
I think it could be difficult in case that the last hr-tag is missing (described in Re^3: Extracting HTML content between the h tags ).
Re^2: Extracting HTML content between the h tags
Whenever I start a new project/gig, I try to think whether this is similar to something I've done before, and if it is, then I use that code or technique as the starting point. If it is totally new (very rare), I still have a bag of tricks ( subroutines ) that I copy ( use ... ) into the new work. Look at every thing you do today as something you may be able to use for the rest of your programming life.
You're lucky to have Perl, since a lot of the code I did before Perl is worthless today, but knowledge and techniques can be applied to Perl!
"Well done is better than well said." - Benjamin Franklin