Subject: | bin/scraper dies because of Term::ReadLine |
i have
* Term::Readline 1.02
* This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
* Web::Scraper 0.12
here is the error message:
$ scraper http://yapceurope.org/
method new called with wrong number of arguments at /usr/share/perl/5.8/
Term/ReadLine.pm line 243.
$
so Term::ReadLine expects at least one argument as a title.
patch:
my $term = Term::ReadLine->new('Web::Scraper');
instead of
my $term = Term::ReadLine->new();