Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Type CPAN distribution.

Report information
The Basics
Id: 78657
Status: resolved
Priority: 0/
Queue: Test-Type

People
Owner: Nobody in particular
Requestors: dirkus [...] yopmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.0.0
Fixed in: 1.0.1



Subject: wrong minimum perl version
your Makefile.PL states that 5.6 is the minimum required perl version, but your code makes use of the defined-or operator (//) which was introduced in 5.10. you either need to declare 5.10 (5.010) as the minimum required perl version or make your code more portable.
Hi Dirk, You're right - I'll refactor the uses of // to make the code portable. Thank you for reporting the problem! Guillaume
Hi Dirk, I just released v1.0.1 that eliminates the reliance on //. The code is not quite as elegant, but portability is more important and tests seem to be running fine on 5.8.8 now. Please let me know if you have any further problems, and thank you again for reporting the issue! Guillaume guillaume@avalon:~/Documents/cpan/Test-Type$ perlbrew switch perl-5.8.8 guillaume@avalon:~/Documents/cpan/Test-Type$ perl -v This is perl, v5.8.8 built for x86_64-linux Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. guillaume@avalon:~/Documents/cpan/Test-Type$ prove -I lib/ t/ t/00-load.t ......... 1/1 # Testing Test::Type 1.0.1, Perl 5.008008, /home/guillaume/perl5/perlbrew/perls/perl-5.8.8/bin/perl t/00-load.t ......... ok t/10-ok_string.t .... ok t/20-ok_arrayref.t .. ok t/30-ok_hashref.t ... ok t/40-ok_coderef.t ... ok t/50-ok_number.t .... ok t/60-ok_instance.t .. ok t/manifest.t ........ ok t/perlcritic.t ...... skipped: Test::Perl::Critic required. t/pod-coverage.t .... skipped: Test::Pod::Coverage 1.08 required for testing POD coverage t/pod.t ............. skipped: Test::Pod 1.22 required for testing POD All tests successful. Files=11, Tests=35, 1 wallclock secs ( 0.08 usr 0.07 sys + 0.35 cusr 0.15 csys = 0.65 CPU) Result: PASS