Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2019 19:26:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        perl@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 235785] www/p5-WWW-Mechanize: add dependency HTML::TokeParser
Message-ID:  <bug-235785-14331-faKhvwFfWP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235785-14331@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235785-14331@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-perl mailing l=
ist
<perl@FreeBSD.org> for maintainer-feedback:
Bug 235785: www/p5-WWW-Mechanize: add dependency HTML::TokeParser
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235785



--- Description ---
I recently installed 'www/p5-WWW-Mechanize' and wrote a short script.

---
#!/usr/local/bin/perl

use strict;
use warnings;

use WWW::Mechanize;

my $mech =3D WWW::Mechanize->new();
---

Executing that, I get the following error:

---
Can't locate HTML/TokeParser.pm in @INC (you may need to install the
HTML::TokeParser module) (@INC contains:
/usr/local/lib/perl5/site_perl/mach/5.28 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.28/mach /usr/local/lib/perl5/5.28) at
/usr/local/lib/perl5/site_perl/WWW/Mechanize.pm line 15.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/WWW/Mechanize.pm line 15.
Compilation failed in require at ./test.pl line 6.
BEGIN failed--compilation aborted at ./test.pl line 6.
---

According to the METACPAN info for WWW:Mechanize, the package HTML::TokePar=
ser
is a dependency.
https://metacpan.org/pod/release/OALDERS/WWW-Mechanize-1.91/lib/WWW/Mechani=
ze.p
m

There is currently no p5-HTML-TokeParser port, so it will need to be create=
d.
(Note that there is a p5-HTML-TokeParser-Simple port, though.)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235785-14331-faKhvwFfWP>