http://www.perlmonks.org?node_id=128363


in reply to Convert HTML docs with frames into a single HTML doc?

That's probably a good order; you may also wish to remove all "target" attributed in A tags, which I believe you can also do with HTML::Parser. This should deal with the problem of navigation issues. Also, you'll have to play with COLSPAN and ROWSPAN attributes of the table cells if you have anything more complex than 2 frames.

Alternatively, if you have your own server with SSI enabled, you can include the text of other HTML files (head/body tags included) directly, so you'd only have to write out a table body with the various include tags, and that will get the job done too, though the final document will not necessarily be HTML4 friendly.

-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important