It's been awile since I last coded Perl, and a lot of changes have been
done to the language itself, cool stuff like OO-adjustments etc. Like
it a lot!!

However, I wonder if anyone can help me to solve a small problem I
have: I would like to read contents of a file containing JavaScript and
insert it into the <head>-part of HTML pages that pass through the
program, I've looked at HTML::HeadParser, and would like to use that
module instead of parsing the whole HTML file in order to gain speed,
and wonder if anyone could submit some code on how it best would be
done to parse the header, insert a file conaining text and then feeding
the rest of the document to the client browser.

Thanks a lot!
/Eyji

Reply via email to