T
tarakparekh
Hello,
I am not well-versed in Perl, so would like to request for
suggestions/help.
My goal is to merge 2 HTML files - particularly, to get everything
between <body> C1 </body> in file1.html and <body> C2 </body>
in file2.html to create file3.html that has:
<body> C1 C2 </body>
C1, C2 can contain that can fall within the "body" tags.
I have taken a look at HTML:arser, as well as HTML::TokeParser,
but on initial tryouts was unable to get the tags themselves.
Some postings indicated reg. expressions are not good for HTML
parsing, but what I am doing in terms of merging is pretty dumb.
Would appreciate any help.
thanks,
tarak
I am not well-versed in Perl, so would like to request for
suggestions/help.
My goal is to merge 2 HTML files - particularly, to get everything
between <body> C1 </body> in file1.html and <body> C2 </body>
in file2.html to create file3.html that has:
<body> C1 C2 </body>
C1, C2 can contain that can fall within the "body" tags.
I have taken a look at HTML:arser, as well as HTML::TokeParser,
but on initial tryouts was unable to get the tags themselves.
Some postings indicated reg. expressions are not good for HTML
parsing, but what I am doing in terms of merging is pretty dumb.
Would appreciate any help.
thanks,
tarak