Subject: | Missing import of "catfile" in Apache::TestConfigParse |
Compile testing of Apache::TestConfigParse fails like so:
syntax error at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigParse.pm line 378, near "catfile qw(conf httpd.conf)"
syntax error at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigParse.pm line 399, near "catfile qw(conf $extra_file)"
Global symbol "$default_conf" requires explicit package name (did you forget to declare "my $default_conf"?) at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigParse.pm line 400.
Compilation failed in require.
BEGIN failed--compilation aborted.
The error however is misleading, probably due to indirect-syntax:
https://metacpan.org/source/SHAY/Apache-Test-1.40/lib/Apache/TestConfigParse.pm#L400
Adding catfile to this import list solves the problem:
https://metacpan.org/source/SHAY/Apache-Test-1.40/lib/Apache/TestConfigParse.pm#L26
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )