Subject: | Apache::TestHarnessPHP uses undeclared variable "$phpclient" |
Compile testing showed this:
Global symbol "$phpclient" requires explicit package name (did you forget to declare "my $phpclient"?) at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestHarnessPHP.pm line 93, <DATA> line 2.
Compilation failed in require at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestRunPHP.pm line 27, <DATA> line 2.
BEGIN failed--compilation aborted at /var/tmp/portage/dev-perl/Apache-Test-1.400.0-r2/work/Apache-Test-1.40/blib/lib/Apache/TestRunPHP.pm line 27, <DATA> line 2.
Compilation failed in require, <DATA> line 2.
BEGIN failed--compilation aborted, <DATA> line 2.
Its obvious that nothing declares this variable prior to use:
https://metacpan.org/source/SHAY/Apache-Test-1.40/lib/Apache/TestHarnessPHP.pm#L93
But how to fix the code is not clear.
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )