From: | gregoa [...] cpan.org |
Subject: | HTML::Gumbo documentation: Perl error in callback example |
We have the following bug reported to the Debian package of
HTML-Gumbo (https://bugs.debian.org/870789):
It doesn't seem to be a bug in the packaging, so you may want to take
a look. Thanks!
------8<-----------8<-----------8<-----------8<-----------8<-----
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 "=~".
------8<-----------8<-----------8<-----------8<-----------8<-----
Thanks for considering,
gregor herrmann,
Debian Perl Group