Bug#870789: HTML::Gumbo documentation: Perl error in callback example
Vincent Lefevre
vincent at vinc17.net
Sat Aug 5 01:17:18 UTC 2017
Package: libhtml-gumbo-perl
Version: 0.17-1+b2
Severity: minor
The callback example in the HTML::Gumbo documentation contains:
elsif ( $event eq /^(text|space|cdata|comment)$/ ) {
This is incorrect. "eq" should be replaced by "=~".
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.11.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libhtml-gumbo-perl depends on:
ii libc6 2.24-14
ii libgumbo1 0.10.1+dfsg-2.1
ii libhtml-tree-perl 5.03-2
ii perl 5.26.0-5
ii perl-base [perlapi-5.26.0] 5.26.0-5
libhtml-gumbo-perl recommends no packages.
libhtml-gumbo-perl suggests no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list