Andy Lester

Results 231 issues of Andy Lester

`ack -x` ignores type filters. This is surprising to some users, and there have been repeated calls for `-x` to respect the `--type` filters. It's too late to change the...

feature

If I have something like this: cat filelist.txt | ack -x --noperl I will be surprised that the `--noperl` does nothing because `-x` already knows it is getting files from...

feature

If you do a `ack foo --passthru` you don't get per-file headers. We should. If you do `ack foo --passthru --nobreak`, it all works fine, without per-file headers, with the...

bug

If I `use Test::More;` then I get `Test::Builder` for free and I should not get a warning about local $Test::Builder::Level = $Test::Builder::Level + 1;

Enhancement

See this thread: https://www.reddit.com/r/perl/comments/16q97zl/ouch_when_the_small_mistakes_bite/ Short version: The expression passed to `say` is probably a mistake: my $a = 'a'; my $b = 'b'; my $c = 'c'; say $a ....

Suggested policy

Found this in my code that ProhibitCaptureWithoutTest did not catch. Note that the first use of `$1` is caught, but not the one inside the `if` block. ``` $ cat...

Bug

In #1031, @mjgardner notes "Further, the documentation also lists [](mailto:[email protected]) as a contact for submitting new Policy modules." This should be replaced with a pointer to this GitHub repo as...

Documentation

It used to be that you'd have to do something like: my $shortened = $temperature; $shortened =~ s/CF$//; or sometimes (my $shortened = $temperature) =~ s/CF$//; With the new `/r`...

Suggested policy

This should not cause a RequireExplicitInclusion error: use parent 'Foo'; Foo::whatever()

Bug

This workflow fails: https://github.com/Perl-Critic/Perl-Critic/actions/runs/3863638510 ``` 2023-01-07T19:47:30,66| Installation failed. The direct cause of the failure comes from the following packages/distributions; you may want to grep this log file by them: 2023-01-07T19:47:30,66|...

Test failure
Dev internals