Re: html tags and perl
- From: Kio <ysmay13@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 29 Jan 2007 23:46:17 +0100
Michele Dondi napisa?(a):
Earlier today someone posted a question about HTML::TokeParser, and
people answered giving some explicit example. You may enjoy reading
that thread. Your case is actually easier than what was being asked
there...
I wrote sth like this:
use HTML::TokeParser;
my $p = HTML::TokeParser->new(\$html_file);
while (my $token = $p->get_tag('img'))
{
#how can i write sth to the src attr ?
#like: new attr="/e/.jpg"
}
Damian
.
- References:
- html tags and perl
- From: Kio
- html tags and perl
- Prev by Date: Tar on Windows XP
- Next by Date: Help with syntax
- Previous by thread: Re: html tags and perl
- Next by thread: FAQ 3.20 How can I hide the source for my Perl program?
- Index(es):
Relevant Pages
|
|