Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the ack CPAN distribution.

Maintainer(s)' notes

ack's issues are tracked at https://github.com/petdance/ack2

Report information
The Basics
Id:
19784
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
PETEK [...] cpan.org(receives weekly digests)
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
1.20
Fixed in:
1.16



Subject: t/filetypes.t failing on 5.6.1
Under 5.6.1, filetypes.t failes like so:
Show quoted text
> perl -Tw -Iblib/lib/ t/filetypes.t
1..8 ok 1 - use App::Ack; Unquoted string "filetypes" may clash with future reserved word at t/filetypes.t line 12. not ok 2 - foo.pod can be multiple things # Failed test (t/filetypes.t at line 12) # Structures begin differing at: # $got->[0] = 'foo.pod' # $expected->[0] = 'parrot' # $VAR1 = [ # 'parrot', # 'perl' # ]; ok 3 - Bongo.pm ok 4 - Makefile.PL ok 5 - Unknown ok 6 - foo.pod can be perl ok 7 - foo.pod can be parrot ok 8 - foo.pod cannot be ruby # Looks like you failed 1 tests of 8. The attached test fails the first case but succeeds the second - something about sort() with filenames() is throwing 5.6.1 off.
Subject: 561bug.t
#!perl -Tw use warnings; use strict; use Test::More tests => 3; BEGIN { use_ok( 'App::Ack' ); } is_deeply( [sort(filetypes( "foo.pod" ))], [qw( parrot perl )], 'foo.pod can be multiple things' ); my @filetypes = filetypes( "foo.pod" ); is_deeply( [sort(@filetypes)], [qw( parrot perl )], 'foo.pod can be multiple things' );
Fixed in whatever comes after 1.20.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.