in reply to WWW Keywords
I'm looking at the docs for HTML::Parser and HTTP::Headers, which seems to be related.
Thanks for pointing me in the correct direction.