Closed petdance closed 11 years ago
Fixed and pushed on the dev branch.
Why is having File::Next at the top an issue?
Because I have all the notes and comments to the user at the top of ack. Stuff like this:
#!/usr/bin/env perl
#
# This file, ack, is generated code.
# Please DO NOT EDIT or send patches for it.
#
# Please take a look at the source from
# http://github.com/petdance/ack2
# and submit patches against the individual files
# that build ack.
#
package main;
use strict;
use warnings;
use 5.008008;
# XXX Don't make this so brute force
# See also: https://github.com/petdance/ack2/issues/89
use Getopt::Long 2.35 ();
use Carp 1.04 ();
our $VERSION = '2.11_01';
# Check http://beyondgrep.com/ for updates
With File::Next, the first thing you see opening the file is File::Next, and the actual guts of ack are buried somewhere.
Somehow ack-standalone is getting built with File::Next at the top. This is bad.