Andy Lester

Results 231 issues of Andy Lester

For example, this regex `qr< [/] ( [^/]+ ) [/] >xms;` takes twice as long to execute as `qrms;` in my basic timings.

Dev internals

There's a comment in lib/Perl/Critic/Policy/Modules/ProhibitEvilModules.pm ``` # It's kind of unfortunate that I had to put capturing parentheses in the # component regexes above, because they're not visible here and...

Dev internals

ProhibitUselessTopic complains that the `$_` to `uc` is unnecessary in this line of code. my %y = map { uc($_) => $x{$_} } keys %x; Here we must call `uc($_)`...

Bug

My understanding is that after function signatures were added in Perl v5.20, that in a later version (I haven't found the perldelta for it yet) that function signatures actually became...

Performance

It seems that TT requires spaces around math operators sometimes. For example this runs just fine: ``` x = 5; y = x + 2; ' y='; y; y =...

In this template: ``` [% MACRO show( n ) BLOCK %] value="[% n %]" [% END %] [% x=5; show(x); show(x+2); show(x-2); show(x*2); show(x/2); %] ``` The parser fails on...

The first question in the FAQ refers to a parsing issue that promises "NOTE: this will be fixed in TT3". If it's been fixed in TT 3, then remove the...

I was searching for info about the `[%~` in TT and was googling for things like "template toolkit tilde" but was coming up empty. [This page](http://template-toolkit.org/docs/manual/Config.html#section_PRE_CHOMP_POST_CHOMP) had the info was...

Is there any interest in bumping up the minimum Perl for TT to 5.10.1 which came out in 2009? There are many places we could use defined-or for simplicity and...

The line numbers in the compiled cache files aren't correct. For this template: ``` [% x = 3 %] [% y = 3 %] [% IF x == y %]...