You may find HTML::TreeBuilder is helpful in rendering chunks of HTML from an HTML document.
In reply to Re: I want to Split html pages by GrandFather in thread I want to Split html pages by chandchv