[From nobody Sun Jun  7 03:42:04 2026
Received: (at submit) by bugs.debian.org; 5 Aug 2017 01:17:21 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
 (2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-9.9 required=4.0 tests=BAYES_00, FOURLA, HAS_PACKAGE,
 RP_MATCHES_RCVD autolearn=ham autolearn_force=no
 version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 7; hammy, 150; neutral, 41; spammy, 0.
 spammytokens: hammytokens:0.000-+--systemd,
 0.000-+--H*F:D*vinc17.net, 
 0.000-+--H*rp:D*vinc17.net, 0.000-+--H*MI:vinc17, 0.000-+--HX-Mailer-Info:mutt
Return-path: &lt;vincent@vinc17.net&gt;
Received: from ioooi.vinc17.net ([92.243.22.117])
 by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from &lt;vincent@vinc17.net&gt;)
 id 1ddniT-00076w-AL
 for submit@bugs.debian.org; Sat, 05 Aug 2017 01:17:21 +0000
Received: from smtp-zira.vinc17.net (jlefevre.net1.nerim.net [80.65.226.245])
 by ioooi.vinc17.net (Postfix) with ESMTPSA id 045E8685;
 Sat,  5 Aug 2017 03:17:19 +0200 (CEST)
Received: by zira.vinc17.org (Postfix, from userid 1000)
 id 371D6C21216; Sat,  5 Aug 2017 03:17:18 +0200 (CEST)
Date: Sat, 5 Aug 2017 03:17:18 +0200
From: Vincent Lefevre &lt;vincent@vinc17.net&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: HTML::Gumbo documentation: Perl error in callback example
Message-ID: &lt;20170805011718.GA13599@zira.vinc17.org&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 7.1.7
X-Mailer-Info: https://www.vinc17.net/mutt/
User-Agent: Mutt/1.8.3-7115-vl-r99863 (2017-07-28)
Delivered-To: submit@bugs.debian.org

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. &quot;eq&quot; should be replaced by &quot;=~&quot;.

-- 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
]