Subject: | Missing ";" in Apache::TestConfigPHP |
When doing basic compile-testing of Apache::TestConfigPHP, the following error emerged:
syntax error at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigPHP.pm line 175, near "$file
my "
Global symbol "$log" requires explicit package name (did you forget to declare "my $log"?) at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigPHP.pm line 175.
Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigPHP.pm line 177.
Global symbol "$dir" requires explicit package name (did you forget to declare "my $dir"?) at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigPHP.pm line 177.
Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigPHP.pm line 178.
Global symbol "$file" requires explicit package name (did you forget to declare "my $file"?) at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigPHP.pm line 178.
Global symbol "$log" requires explicit package name (did you forget to declare "my $log"?) at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigPHP.pm line 180.
Global symbol "$file" requires explicit package name (did you forget to declare "my $file"?) at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigPHP.pm line 183.
Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigPHP.pm line 185.
Global symbol "$file" requires explicit package name (did you forget to declare "my $file"?) at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigPHP.pm line 185.
syntax error at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigPHP.pm line 186, near "}"
/var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestConfigPHP.pm has too many errors.
The culprit appears to be missing a ';' here, after "return if -e " :
https://metacpan.org/source/SHAY/Apache-Test-1.40/lib/Apache/TestConfigPHP.pm#L173-175
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )