Basically the underlying HTTP::OAI 4.03 is broken on BSD platforms
#!/usr/bin/env perl
use HTTP::OAI::Harvester;
my $url = 'http://biblio.ugent.be/oai';
my $x = HTTP::OAI::Harvester->new(baseURL => $url, resume => 0);
gives:
String found where operator expected at /usr/local/libdata/perl5/site_perl/HTTP/OAI/UserAgent.pm line 221, near "Carp::confess "Internal error - bad bytes but not in 0x80-0xff range???""
(Do you need to predeclare Carp::confess?)
String found where operator expected at /usr/local/libdata/perl5/site_perl/HTTP/OAI/UserAgent.pm line 241, near "Carp::confess "Requires verb parameter""
(Do you need to predeclare Carp::confess?)
syntax error at /usr/local/libdata/perl5/site_perl/HTTP/OAI/UserAgent.pm line 221, near "Carp::confess "Internal error - bad bytes but not in 0x80-0xff range???""
syntax error at /usr/local/libdata/perl5/site_perl/HTTP/OAI/UserAgent.pm line 241, near "Carp::confess "Requires verb parameter""
Global symbol "$self" requires explicit package name at /usr/local/libdata/perl5/site_perl/HTTP/OAI/UserAgent.pm line 243.
Global symbol "%args" requires explicit package name at /usr/local/libdata/perl5/site_perl/HTTP/OAI/UserAgent.pm line 246.
Global symbol "%args" requires explicit package name at /usr/local/libdata/perl5/site_perl/HTTP/OAI/UserAgent.pm line 246.
Global symbol "%args" requires explicit package name at /usr/local/libdata/perl5/site_perl/HTTP/OAI/UserAgent.pm line 247.
Global symbol "%args" requires explicit package name at /usr/local/libdata/perl5/site_perl/HTTP/OAI/UserAgent.pm line 247.
Global symbol "%args" requires explicit package name at /usr/local/libdata/perl5/site_perl/HTTP/OAI/UserAgent.pm line 249.
Global symbol "%args" requires explicit package name at /usr/local/libdata/perl5/site_perl/HTTP/OAI/UserAgent.pm line 251.
Global symbol "%args" requires explicit package name at /usr/local/libdata/perl5/site_perl/HTTP/OAI/UserAgent.pm line 251.
syntax error at /usr/local/libdata/perl5/site_perl/HTTP/OAI/UserAgent.pm line 255, near "}"
/usr/local/libdata/perl5/site_perl/HTTP/OAI/UserAgent.pm has too many errors.
Compilation failed in require at (eval 2) line 2.
...propagated at /usr/libdata/perl5/base.pm line 94.
BEGIN failed--compilation aborted at /usr/local/libdata/perl5/site_perl/HTTP/OAI/Harvester.pm line 3.
Compilation failed in require at test.pl line 3.
BEGIN failed--compilation aborted at test.pl line 3.
Basically the underlying HTTP::OAI 4.03 is broken on BSD platforms
gives: