perl-HTML-TagReader-1.11-alt3.1.i586.rpm


Advertisement

Description

perl-HTML-TagReader - Perl extension module for reading html/sgml/xml files

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports i586
Package filename perl-HTML-TagReader-1.11-alt3.1.i586.rpm
Package name perl-HTML-TagReader
Package version 1.11
Package release alt3.1
Package architecture i586
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 44.48 KB
Installed size 44.48 KB
The module implements a fast and small object oriented way of
processing any kind of html/sgml/xml files by tag.
The getbytoken(0) is similar to while(<>) but instead of reading lines
it reads tags or tags and text.
HTML::TagReader makes it easy to keep track of the line number in a file
even though you are not reading the file by line. This important if you
want to implement error messages about html errors in your code.
Here is a program that list all href tags
in a html file together with line numbers and column:
use HTML::TagReader;
my $p=new HTML::TagReader "file.html";
my @tag;
while(@tag = $p->gettag(1)){
if ($tag[0]=~/ href ?=/i){
$tag[0]=~s/ ?= ?/=/g;
print "line: $tag[1]: col: $tag[2]: $tag[0]\n";
}
}
Here is a program that will read a html file tag
wise:
use HTML::TagReader;
my $p=new HTML::TagReader "file.html";
my @tag;
while(@tag = $p->getbytoken(1)){
if ($tag[1] eq ""){
print "line: $tag[2]: col: $tag[2]: not a tag (some text), \"$tag[0]\"\n\n";
}else{
print "line: $tag[2]: col: $tag[2]: is a tag, $tag[0]\n\n";
}
}

Alternatives

Package Version Architecture Repository
perl-HTML-TagReader-1.11-alt3.1.x86_64.rpm 1.11 x86_64 Autoimports
perl-HTML-TagReader - - -

Requires

Name Value
/usr/lib/perl5 -
libc.so.6(GLIBC_2.0) -
libc.so.6(GLIBC_2.1.3) -
libc.so.6(GLIBC_2.3) -
libc.so.6(GLIBC_2.4) -
libperl-5.28.so -
libpthread.so.0(GLIBC_2.0) -
perl(DynaLoader.pm) -
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -

Provides

Name Value
perl(HTML/TagReader.pm) = 1.110
perl-HTML-TagReader = 1.11-alt3.1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-HTML-TagReader-1.11-alt3.1.i586.rpm
Source Package perl-HTML-TagReader-1.11-alt3.1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus i586 autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-HTML-TagReader rpm package:
    # sudo apt-get install perl-HTML-TagReader

Files

Path
/usr/lib/perl5/HTML/TagReader.pm
/usr/lib/perl5/auto/HTML/
/usr/lib/perl5/auto/HTML/TagReader/TagReader.so
/usr/share/doc/perl-HTML-TagReader-1.11/Changes
/usr/share/doc/perl-HTML-TagReader-1.11/README

See Also

Package Description
perl-HTML-TagReader-scripts-1.11-alt3.1.i586.rpm HTML-TagReader scripts
perl-HTML-Valid-0.07-alt1.1.i586.rpm tidy/validate HTML
perl-HTML-Valid-scripts-0.07-alt1.1.i586.rpm HTML-Valid scripts
perl-HTML5-DOM-1.15-alt1.1.i586.rpm Super fast html5 DOM library with css selectors (based on Modest/MyHTML)
perl-HTTP-GHTTP-1.07-alt4.1.i586.rpm perl module HTTP-GHTTP
perl-HTTP-GHTTP-scripts-1.07-alt4.1.i586.rpm HTTP-GHTTP scripts
perl-HTTP-Headers-Fast-XS-0.001-alt3.1.i586.rpm XS implementation of HTTP::Headers::Fast
perl-HTTP-MHTTP-0.15-alt4.1.i586.rpm this library provides reasonably low level access to the HTTP protocol, for perl. This does not re
perl-HTTP-Parser2-XS-0.01-alt4.1.i586.rpm perl module HTTP-Parser2-XS
perl-HTTP-Response-Parser-0.03-alt4.1.i586.rpm create HTTP::Response object fast way
perl-HTTP-Server-EV-0.69-alt3.1.i586.rpm perl module HTTP-Server-EV
perl-HTTP-Soup-0.01-alt3_16.i586.rpm HTTP client/server library for GNOME
perl-HTTP-XSCookies-0.000021-alt2_3.i586.rpm Fast XS cookie mangling for Perl
perl-Ham-Resources-HamQTH-0.05-alt4.1.i586.rpm perl module Ham-Resources-HamQTH
perl-Hash-BulkKeyCopy-0.022-alt3.1.i586.rpm a xs module for clone hash with keys
Advertisement
Advertisement