Gunnar Wolf <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] dijo [Sat, Oct 06, 2007 at 12:12:13AM +0200]:
> > This distribution has been tested as part of the cpan-testers
> > effort to test as many new uploads to CPAN as possible.  See
> > http://testers.cpan.org/
> > 
> > Please cc any replies to [email protected] to keep other
> > test volunteers informed and to prevent any duplicate effort.
> > (...)
> > Thank you for uploading your work to CPAN.  However, it appears that
> > there were some problems with your distribution.
> 
> Hi,
> 
> Thanks a lot for this effort! However... Well, I'm baffled by the
> results:
> 
> > PERL_DL_NONLAZY=1 /usr/perl5.005_05/bin/perl "-MExtUtils::Command::MM" "-e" 
> > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> > t/test....Use of reserved word "our" is deprecated at 
> > /mnt/i386/usr/local/src/CPAN/build/Config-File-1.4-hUkREu/blib/lib/Config/File.pm
> >  line 10.
> > Global symbol "$VERSION" requires explicit package name at 
> > /mnt/i386/usr/local/src/CPAN/build/Config-File-1.4-hUkREu/blib/lib/Config/File.pm
> >  line 10.
> > Global symbol "@ISA" requires explicit package name at 
> > /mnt/i386/usr/local/src/CPAN/build/Config-File-1.4-hUkREu/blib/lib/Config/File.pm
> >  line 10.
> > Global symbol "@EXPORT_OK" requires explicit package name at 
> > /mnt/i386/usr/local/src/CPAN/build/Config-File-1.4-hUkREu/blib/lib/Config/File.pm
> >  line 10.
> > Compilation failed in require at t/test.t line 12.
> > BEGIN failed--compilation aborted at t/test.t line 12.
> > dubious
> >     Test returned status 2 (wstat 512, 0x200)
> > DIED. FAILED tests 1-11
> >     Failed 11/11 tests, 0.00% okay
> > Failed Test Stat Wstat Total Fail  List of Failed
> > -------------------------------------------------------------------------------
> > t/test.t       2   512    11   21  1-11
> > Failed 1/1 test scripts. 11/11 subtests failed.
> > Files=1, Tests=11,  0 wallclock secs ( 0.00 cusr +  0.02 csys =  0.02 CPU)
> > Failed 1/1 test programs. 11/11 subtests failed.
> > *** Error code 35
> 
> Umh... Ok, this might be related to the fact you seem to be building
> with an ancient version of Perl (5.005_05)

Well, not quite ancient. 5.005_05 will be released in near future, see
http://groups.google.com/group/perl.perl5.porters/browse_frm/thread/f2771315cc8b6b4b

> - I haven't used that
> version in many years, but anyway... Does it not implement 'our' yet? 
> I suppose the right way to solve this would be to add a 'require
> 5.006' line in my module, right? AFAICT, this (quite simple) module
> will not need any feature not present in 5.6.

At least the test suite shows success for perl 5.6 and later versions
on my machines:

test FAIL Config-File-1.4 (perl-5.00505) amd64-freebsd 6.2-release
test PASS Config-File-1.4 (perl-5.8.8) amd64-freebsd 6.2-prerelease
test PASS Config-File-1.4 (perl-5.10.0 patch 32039) amd64-freebsd 6.2-release
test PASS Config-File-1.4 (perl-5.6.2) amd64-freebsd 6.2-release
test PASS Config-File-1.4 (perl-5.8.8) i486-linux-gnu-thread-multi 2.6.18.3


> Please check if adding
> this line makes the build fail in a more successful way ;-)

Yes, adding the "require" line to your module and to Makefile.PL would
help. In this case CPAN::Reporter would just sent a N/A instead of a
FAIL report.

Or you can consider to replace the "our" with "use vars", which is
quite similar and supported by 5.005.

Regards,
        Slaven

-- 
Slaven Rezic - slaven <at> rezic <dot> de

    tknotes - A knotes clone, written in Perl/Tk.
    http://ptktools.sourceforge.net/#tknotes

Reply via email to