use strict; use warnings; use HTML::TreeBuilder; my $t = HTML::TreeBuilder->new(); $t->parse(q~ <html> <head> <title>eltit</title> </head> <body> rock me </body> </html> ~); $t->eof; die $t->find_by_tag_name('body')->as_HTML; __END__ <body> rock me </body>
In reply to Re: strip header from page fetched w/ LWP
by Anonymous Monk
in thread strip header from page fetched w/ LWP
by geektron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |